Table of contents
1.
Introduction 
2.
Dispatch Styles
3.
Frequently Asked Questions
3.1.
What is Dispatch in API?
3.2.
What is ReadyAPI?
3.3.
What are the different types of Dispatch styles?
4.
Conclusion
Last Updated: Mar 27, 2024

Dispatch Settings in ReadyAPI

Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

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. 

Dispatch Settings in Ready API

 

Several responses can be defined for an operation in your virtual service. This is specified using the Dispatch Style.
 

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:
 

 

types supported

 

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

Frequently Asked Questions

What is Dispatch in API?

The Dispatch API enables the developer to send messages to users using a multiple-channel strategy.
 

What is ReadyAPI?

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.  
 

What are the different types of Dispatch styles?

There are various types of dispatch styles: Sequence, Random, Script, XPath, Query Match, and Parameter.
 

Conclusion

In this blog, we discussed the Dispatch settings in ready API, their types, and the different dispatch styles supported by various virtual services. For informative articles on computer fundamentals like  DBMSDSACompetitive ProgrammingPythonJava, etc., visit our platform called Coding Ninjas Studio. Share and upvote this article if you found this helpful. Happy Coding!!

 

 

Live masterclass