Skip to content

MockOperation

Overview - MockOperation Window

mock-operation-display-panel

 OptionDescription
1_snag_eviCreate New MockResponseCreates a new MockResponse for this MockOperation.
2_snag_eviOpen RequestOpens or Creates a request for this MockOperation with correct endpoint.
3_snag_eviInterfaceSelects the interface for this MockOperation.
4_snag_eviOperationSelects the operation in selected interface for this MockOperation.
5_snag_eviMockResponsesList of MockResponses in this MockOperation.
6_snag_eviRequest DispatchingConfigures current dispatch style.

Create New MockResponse

mock-operation-new-mockresponse

Open Request

mock-operation-open-request

Request Dispatching

mock-operation-dispatch
mock-operation-dispatch-model

OptionDescription
ScriptAllows a Groovy script for dispatching based on any arbitrary criteria.
SequenceDispatches to the configured responses in sequence, starting from the beginning when the last has been reached.
Query matchSpecifies a number of matching queries for the request and their target MockResponse.
XpathDispatches based on a specified XPath expression that will be used to select the name of the MockResponse step to dispatch to.
RandomDispatches randomly between existing MockResponses.

Query Match

mock-operation-dispatch-query-match

Xpath

mock-operation-dispatch-xpath

Back to Top