NOTE: This page contains information on standalone ReadyAPI that has been replaced with ReadyAPI. To use outline editor, feel free to download a ReadyAPI trial from our website.
The MockResponse editor lets you configure the MockResponse in detail.
The MockResponse Editor contains the configurable information that will be returned for the request: A HTTP Status Code, any custom Header information to include, and the Response Body. The scripting tabs for script, table and xml are at the bottom.
MockResponse Editor Headers
The response can be configured to include custom headers.
||Create new custom header
||Delete new custom header
The header column shows the header type.
The header value is displayed in the value column.
It is possible to use Property expansions in the custom header value.
The MockResponse body is the main part of the response and can be in a number of format.
The Content/Media Type.
The field is editable, and you can enter (possibly making sure that the body content type matches your custom headers.
The Raw Editor allows you to edit the response to provide the exact detailed response you need.
In ReadyAPI, the response body can be edited using an Outline Editor.
MockResponse Editor Script
The MockRespsonse body is the main part of the response and can be in a number of format.
Read more about mock service scripting in the Creating Dynamic MockServices article.