postman-app-support
postman-app-support copied to clipboard
new block type for "failure" (expression)
trafficstars
Is there an existing request for this feature?
- [X] I have searched the existing issues for this feature request and I know that duplicates will be closed
Is your feature request related to a problem?
Rigth now when we use Flows, the only way to validate a behaviour is adding a test script ( in the request), adding a 'test summary' and link those two blocks. Even with that if a test fail the flow continue until the end.
If you don't add and link the 'summary test' block to all blocks, maybe you don't know that there's an unexpected behaviour as the flow is never stop by a failure test.

Describe the solution you'd like
I would like to have something like:
- a new block type call 'Test Failure', and given the block test It will validate that all tests passed correctly otherwise It won't call to the next block. (and showing the block in red color if the 'Test Failure' stop the flow, in gray the blocks we don't executed)

Describe alternatives you've considered
- a new block type call 'Failure', where given a response I can evaluate if this is expected if not the block won't call to the following one.
Additional context
No response