API mock response body sub tab

API mock response body sub tab is used to define the following properties of the API mock response as shown in the below snapshot:

  1. Status Code
  2. Response Body

In the above example, Mock server will send the status code as 200 and send the response body as configured above. 

Note:

  1. Variables configured in Request tab of the API mock can be used in response tab.
  2. Mock server will replace the values of these variables received from the incoming mock request before sending the response.

 

Â