To start testing Kafka in ReadyAPI, you should first add a Kafka API to the project. You can import an AsyncAPI definition or create an API manually.
Import API definition
-
Click next to the APIs node and select Import API Definition:
— or —
Right-click the APIs section in the Navigator and select Import API Definition.
-
Enter the path to the definition in the My Computer tab if the definition is stored on your computer or enter its URL in the URL tab if it is stored online. ReadyAPI will determine the type of the definition automatically, so just click Import API.
-
Add the API Connection test step to a test case:
To learn more, see API Connection Test Step.
Create API definition
-
Add a Kafka API to the project:
To learn more, see Adding More APIs to Existing Projects.
-
Specify the service’s endpoints and authorization, if needed:
To learn more, see Managing Kafka APIs.
-
Populate the API with the needed topics:
-
Add the API Connection test step to a test case:
To learn more, see API Connection Test Step.