Assertionerror: expected response body to equal 'response_body_string' but gocin fcm
Answers
Answered by
0
Answer:When asserting with pm.response.to.not.be.* before pm.response.to.be.*, the second assertion wrongly fails. However switching their order makes the tests correctly pass. Also, using to.be.not instead of to.not.be makes the tests work as well.
Explanation:
Similar questions