MockOperation

Overview - MockOperation Window

mock-operation-display-panel

  Option Description
1_snag_evi Create New MockResponse Creates a new MockResponse for this MockOperation.
2_snag_evi Open Request Opens or Creates a request for this MockOperation with correct endpoint.
3_snag_evi Interface Selects the interface for this MockOperation.
4_snag_evi Operation Selects the operation in selected interface for this MockOperation.
5_snag_evi MockResponses List of MockResponses in this MockOperation.
6_snag_evi Request Dispatching Configures 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

Option Description
Script Allows a Groovy script for dispatching based on any arbitrary criteria.
Sequence Dispatches to the configured responses in sequence, starting from the beginning when the last has been reached.
Query match Specifies a number of matching queries for the request and their target MockResponse.
Xpath Dispatches based on a specified XPath expression that will be used to select the name of the MockResponse step to dispatch to.
Random Dispatches randomly between existing MockResponses.

Query Match

mock-operation-dispatch-query-match

Xpath

mock-operation-dispatch-xpath

Back to Top