How do I stop Newman to run a collection on certain response code?

281 Views Asked by At

I'm relatively new to this, How do I stop Newman to run a collection on certain response code? For example I want it to stop running on response 400 or 401 I tried the bail option but I guess I'm doing something wrong. Thanks for shedding some light.

0

There are 0 best solutions below