Copy of Viewing Response Details
The WebServcie response helps you view and verify the results of a WebServcie request. A WebServcie response includes the response body, headers, and HTTP status code. You can check details such as the returned data, response time, and status to ensure the request executes correctly.
Response Header: Displays response headers such as status code, content type, and other metadata.
Response Body: Shows the main content of the API response in all body formats (form-data, x-www-form-urlencoded and raw (JSON or XML)).
Viewing Response in Element Repository
To view and validate the WebService response, perform the following actions:
On the Element Repository page, after sending an WebSevice request, select the Response tab.
On the Response tab, you can validate an WebServcie response using the following tabs:
Response Header
The Header tab displays the HTTP status code, Server, response time, Content-Type, and Length.

Response 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.

Viewing Response in Test Case
To view and validate the WebServcie response, perform the following actions:
On the Test Case page, send the WebServcie request.
Select the Add Step Manually (+) button. The new step created.
Add the required validation steps by using the following actions:
Get Body: Retrieves the response body from the executed Web Service request.
Get Header: Retrieves the header value by using the header key.
Get Key Value: Retrieves a specific key value from the JSON response body.
Get Tag Value: Retrieves a specific tag value from the XML response body.
Note: To add WebService test steps, refer to Creating a Web Service Test Case.
Last updated