Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to continue with tests in postman even if any one assert fails?

Tags:

assert

postman

In a Postman GET request, I have used multiple assertions. However, if any assertion fails, Postman will stops its execution then and there and will throw an error.

Is there any way to prevent this and continue with other assertions even if any one among them fails?

like image 994
neha Avatar asked Jan 22 '26 02:01

neha


1 Answers

Postman has an open Feature Request on this https://github.com/postmanlabs/postman-app-support/issues/4341

However, you can use command line app newman using the --bail option available with it.

like image 129
keybored Avatar answered Jan 23 '26 20:01

keybored



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!