Mock Action Editor
The action editor lets you define and edit the actions for a MockService.
The Method for the action can be changed inside the action editor.
The Resource Path is editable.
The MockResponses tab shows a list of all responses that are defined for the action.
The Dispatch setting defines the MockService behaviour for responses in the action.
Currently, the following methods are available for REST MockServices:
Sequence - Send each response in sequence.
Script - handle responses with a script.
With Sequence dispatch, each response is sent in turn. When reaching the end of the list, dispatch stars over from the beginning.
The Script dispatch method allows for more dynamic handling of the responses.
The Default Response will be used if the script does not return another response.
Enter the script handling the response into the script field.
Read more about mock service scripting in the Creating Dynamic MockServices article.