In Postman you can define multiple response examples.
200 > success
404 > not found
In the postman collection, the examples are added but I cannot execute the request in Postman to return a 404.
I want to be able to run a request 2 times:
- happy path: run the request and test if the path returns a 200
- unhappy path: run the same request, but for example use a blank request parameter and test for a 404
Is there a way to do this natively in Postman?
Or is the only option to duplicate the request and manually modify the request to make the parameter blanc and test for a 404?