Viewing Response Details
The Response tab displays the results of the executed API request. It allows you to verify the returned data and response details before adding the API to a Test Case. The tab includes two sections:
Body: Shows the main content of the API response in JSON and XML format.
Header: Displays response headers such as status code, content type, and other metadata.
To view and validate the API response, perform the following actions:
On the Element Repository page, after sending an API request, select the Response tab.
On the Response tab, you can validate an API response using the following tabs:
Body
The Body tab displays the response returned by the server. The content is displayed in JSON, XML, or raw format depending on the server returns.

Header
The Header tab displays the HTTP status code, Server, response time, Content-Type, and Length.

Note:
After validating the API Response, you can save the validated API configuration. Go to the Request tab and select the save button to store the configuration for reuse in future.
The saved element can be used in while creating API Test Cases.
Last updated
Was this helpful?