Validating API call response assertions using Test Data

Follow the steps given below to validate the API call response assertions using test data in QAS.

Steps :

  1. Record a test case in a web service project.

  2. Edit the step and execute the API call.

  3. Under the Response Body, add the required assertion with the option - “Response should have a key with value contains” and save the step.

  4. Replace the input with the validation parameter from the test data file.

  5. Execute to verify.