filmov
tv
Postman Flows For No Code Negative Testing
![preview_player](https://i.ytimg.com/vi/fIziYPOeX0o/sddefault.jpg)
Показать описание
Here I cover 2 different but connected scenarios using Postman Flows:-
1. You want to verify the status code and message (e.g. 400 Bad Request)
2. You want to verify a string within the response body (e.g. "the length must be 3-18 characters"
An added bonus is generating test data within Flows using both lists and records, which although might not be ideal for large test data sets, would be very handy for smaller ones such as testing what happens if 3 different invalid inputs are entered for the same request.
1. You want to verify the status code and message (e.g. 400 Bad Request)
2. You want to verify a string within the response body (e.g. "the length must be 3-18 characters"
An added bonus is generating test data within Flows using both lists and records, which although might not be ideal for large test data sets, would be very handy for smaller ones such as testing what happens if 3 different invalid inputs are entered for the same request.