I am trying to test one of the new API calls.
Request got 10 variables and I have created a csv file with 10 columns and Expected result.
Successful scenarios - I had different sets of data in CSV file and Expected column has 201 for success and other validations, I have it in Post response script and this works.
For negative scenarios - I planned to pass incorrect data into the columns and run through it but now my response got different json body and I am not sure how to build that in ‘post- response’ tab for both successful and nit successful scenarios.
Any help is appreciated.