Groovy Script to send message to kafka producer
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2022
11:16 PM
11-20-2022
11:16 PM
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
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
Labels:
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2022
01:39 PM
11-21-2022
01:39 PM
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
