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




