jMeter Test Script for Kafka (tested against Oracle Event Hub Cloud Service)


In this post we are testing a jMeter script that sends messages to Kafka Cluster running in Oracle Event Hub (OEH).

jMETER CONFIG

Install plugins manager in JMeter if you don’t have it, restart jMeter and then install Kafka Support, then you will be told to restart jMeter.

a1

jMETER SCRIPT

Download the jMeter script from here

Load the script into jMeter and change the configuration of your cluster, topic name, etc..

a3

Change the “View Results Tree” configuration ( it comes with theErrors Check enabled in order to avoid latencies in test execution, because the nature of this especific listener ). Execute a few test cycles and observe that valid son files are sent to Kafka cluster.

a2.png

Once you are ready, put the checkbox in Errors and execute the script, here you can watch a video with my test. It has been rum from my local network to cloud, therefore latencies are degrading performance.

 

That’s all folks!

Enjoy 😉

IT

javier mugueta View All →

Me and my circumstance

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: