Ask a Question

Groovy Script to send message to kafka producer

Laks
Occasional Visitor

Groovy Script to send message to kafka producer

I have the topic 1,topic 2.
Using kafka command send the message to producer then Topic 1,Topic 2 give expected message.
Looking for Groovy script to write in Ready Api
1 REPLY 1
SarahS
Staff

Hi @Laks , 

You shouldn't need to use a groovy script to simulate producers or consumers with Kafka. You can use the API connection test step to execute this. 

If you're new to Kafka testing with ReadyAPI it would be helpful to look at the following documents about working with Kafka.
https://support.smartbear.com/readyapi/docs/testing/kafka/index.html

cancel
Showing results for 
Search instead for 
Did you mean: