-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion errors #8
Comments
Hi, |
Sorry for the late reply, I was on holidays last week. Thanks for the answer I will try it this week. |
Hello,
I have an issue that I'm not sure how to fix, it's probably me doing something wrong but I didn't find any other way of getting in contact. I use your Wrapper to convert my Postman Collections into Test Cases and run them with the release pipeline as specified in the wiki. The thing is that these Test Cases always seem to be passing when actually in Postman the Tests scripts do not pass.
For example:
I add
pm.response.to.have.status(201)
to my 'Tests' tab in Postman request and it returns 404 but the Test Case is still marked as passed. I have tried with different assertions liketests["Status code is 200"] = responseCode.code === 200
but I never seem to be able to make the Test Case fail (in Azure, in Postman it works as expected).The question would be if I need to add some updates to the Wrapper to also check for the Tests scripts or if these assertions should be done in a different way.
Thank you very much.
The text was updated successfully, but these errors were encountered: