Send 1000 requests per second to the azure event hub using azure event hub sampler in JMeter

65 Views Asked by At

I need to send 1000 telemetry messages to the event hub using Jmeter GUI. I am using Azure Event Hubs Sampler to connect to the event hub and Throughput Shaping Timer to provide required start,end RPS and duration of the test

But failing to achieve the same I am attaching my test plan here:- enter image description here

Test plan to send data to event hubs usinh JMeter

1

There are 1 best solutions below

1
On

In your current setup Throughput Shaping Timer can only pause JMeter threads in order to limit the load to the desired value.

With 10 threads you can only reach 1000 requests per second if 1 user executes 100 requests per second and it can only be done if response time is 10 milliseconds or less.

The options are in:

  1. Take a look at your response time and increase the number of threads in the Thread Group proportionally, this way you will be able to get more throughput (hopefully)
  2. Consider switching to Concurrency Thread Group, it can be connected with the Throughput Shaping Timer via Feedback Function, this way JMeter will be able to kick off more threads if the current amount is not enough for conducting the required load.

More information: Using JMeter’s Throughput Shaping Timer Plugin