API mock response body sub tab is used to define the following properties of the API mock response as shown in the below snapshot:
- Status Code
- Response Body
In the above example, Mock server will send the status code as 200 and send the response body as configured above.
Note:
- Variables configured in Request tab of the API mock can be used in response tab.
- Mock server will replace the values of these variables received from the incoming mock request before sending the response.