TABLE OF CONTENTS
1. Overview
This article helps in validating API response code.
2. Validating API Response
You can validate an API Response code in the Output tab.
Perform the following to access Output tab.
- Navigate to the collections after selecting a API project.
- In the API screen, enter the URL and click on output button.
- You can add API response Key and Value and click on send.
- You'll get the response code and you validate seeing that.
- You can also validate API response code using schema verification.
- Response schema verification is added to ensure that the API responses adhere to the expected structure and data types.
- In output you can add schema as per your requirement.
- After execution, you can see that the schema is available for verification in the report.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article