How to use different data/body for the post request(assume I use csv/json to iterate with different data), then the test cases also should be specific to each data/body. How can we achieve this? My requirement is to execute +ve & -ve tests of the API using the JSON/CSV. I am able to achieve make the request with different data. But not able to run the tests specific to the body/request.
You can set a variable to send in a body and validate against a test assertion, like this example here: www.postman.com/postman/workspace/postman-answers/request/9215231-d962e591-c679-4014-ab86-b38b2f8ebf69
Excellent episode!
How to use different data/body for the post request(assume I use csv/json to iterate with different data), then the test cases also should be specific to each data/body. How can we achieve this?
My requirement is to execute +ve & -ve tests of the API using the JSON/CSV. I am able to achieve make the request with different data. But not able to run the tests specific to the body/request.
You can set a variable to send in a body and validate against a test assertion, like this example here: www.postman.com/postman/workspace/postman-answers/request/9215231-d962e591-c679-4014-ab86-b38b2f8ebf69
screen resolution is poor
Only for educational purposes, jajaja