MockOperation
Overview - MockOperation Window

| Option | Description | |
|---|---|---|
|  | Create New MockResponse | Creates a new MockResponse for this MockOperation. | 
|  | Open Request | Opens or Creates a request for this MockOperation with correct endpoint. | 
|  | Interface | Selects the interface for this MockOperation. | 
|  | Operation | Selects the operation in selected interface for this MockOperation. | 
|  | MockResponses | List of MockResponses in this MockOperation. | 
|  | Request Dispatching | Configures current dispatch style. | 
Create New MockResponse

Open Request

Request Dispatching


| 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

Xpath
