Kafka Requests

Applies to ReadyAPI 3.8, last modified on May 05, 2021

Asynchronous APIs, like Kafka, have a special way of working with requests because of their nature. For asynchronous APIs, you publish a message to a channel on the broker and do not wait for a response. Instead, you subscribe to the channel to retrieve messages sent to it.

Thus, a request and a response are basically two operations (publishing and subscription respectively) on the same channel. Both operations are configured through the API Connection test step:

Test step editor overview: Publish mode

Click the image to enlarge it.

Test step editor overview: Subscribe mode

Click the image to enlarge it.

See Also

API Connection Test Step
Kafka Testing

Highlight search results