banner
Nov 15, 2015
3166 Views
0 1

Load Testing Apache kafka using Kafkameter

Written by

You can refer overview of Kafka here . For Installation and configuring Kafka , refer the previous post : Configuring Apache Kafka

Step 1

Go to githup and download kafkameter
https://github.com/BrightTag/kafkameter

Step 2

Follow the Steps for building the kafkameter.jar

Step 3

Place the generated jar in $JMETER_HOME/lib/ext folder

Step 4

Restart jmeter

Step 5

Add Threadgroup->Samplers-> Javarequest

Step 6

Configure Input parameters, like hostname , kafka topic that you created already

Step 7

Run Jmeter test and verify the same message is consumed by Kafka consumer.

Refer the below screenshots

 

 

Kafka Parameters

 

Sending message to Kafka Consumer

 

Message Consumed

Article Tags:
·
Article Categories:
Bigdata

Comments to Load Testing Apache kafka using Kafkameter

  • I have worked with this Jmeter jar file (KafkaProducer.Sampler). Using this I was able to publish the message to the Topic but now..

    I am trying to find the Jmeter jar file (for KafkaConsumer), which will help me consume the message from the Topic.
    Is there an existing jar available

    Sanoo Singh January 27, 2016 2:18 am Reply
    • I am not pretty sure about that it is available in jmeter. I searched for the same and ended up in developing our own.

      Suganthi Thangavel February 4, 2016 2:47 pm Reply
  • According to step 7 above, how could I generate another class name to be appeared in the drop down for a Java Request ?

    Kulasangar May 4, 2016 5:22 pm Reply
    • You have to extends AbstractJavaSamplerClient

      Suganthi February 5, 2018 9:40 pm Reply
  • Can anyone please send me the jar file of Kafka at harsh.agarwal3@wipro.com.
    Thanks

    Harsh July 21, 2016 10:02 am Reply
  • Is there a KafkaConsumer Jmeter jar file? I am able to send messages using “KafkaProducer.Sampler”. Please share the kafkaConsumer jar file.
    Thanks,
    Kishore

    Kishore Pula August 9, 2016 2:11 pm Reply
  • I am not able to find Threadgroup->Samplers-> Javarequest in j meter 2.11 version

    sandeep July 10, 2017 3:34 pm Reply

Leave a Reply

Your email address will not be published. Required fields are marked *