Follow the steps given below to validate the API call response assertions using test data in QAS.
Steps :
Record a test case in a web service project.
Edit the step and execute the API call.
Under the Response Body, add the required assertion with the option - “Response should have a key with value contains” and save the step.
Replace the input with the validation parameter from the test data file.
Execute to verify.