Introduction
ReadyAPI is a ready-to-use API testing platform. It is a no-code platform that enables users to easily create requests and responses to virtual APIs and test against functional tests.

Several responses can be defined for an operation in your virtual service. This is specified using the Dispatch Style.
Dispatch Styles
Given below are the various dispatch styles:
- Sequence: response is returned in series
- Random: the response is selected randomly
- Script: The response is selected by running a script code
- XPath: Data is retrieved from the incoming request with an XPath expression. Then a response is selected from this data
-
Query Match: a response is selected based on the data of the incoming request
The dispatch types support the following virtual services:

Remember, the dispatch properties are mutually exclusive and cannot be defined.