Siva Krishna
Siva Krishna

Reputation: 29

How to get number of throughputs per second as 500 in jmeter

Good day.

I am new to J-Meter and here is the requirement I need to verify through J-meter TP. I am using Jmeter: 5.1 version.

  1. I need to get the results for 500 throughput per seconds.
  2. Number of target users : 100
  3. Time to run the test 1 hr.
  4. Start the test with 5 users and increase the load by setting every 3 seconds 5 more users up to add till we reach reaching 100 users.
  5. Once we reach 100 users >> Keep the load for 10 seconds hold and decrease the load by every 3 seconds to reduce 5 number of usrs.

Please help me on what are the parameters I have to set in J-Meter test plan.

Thanks. Siva

Upvotes: 0

Views: 1877

Answers (2)

Dmitri T
Dmitri T

Reputation: 168002

The easiest way of controlling the number of requests per second (throughput) in JMeter test is using Constant Throughput Timer

  1. Add Constant Throughput Timer to your Test plan and configure it to send 30000 requests per minute (500 requests per second)

  2. Make sure that all the Samplers are in the Constant Throughput Timer's scope and you have all active threads selected in the dropdown

    enter image description here

  3. You can only achieve 500 requests per second with 100 users if your application response time is 200 ms or less, if it's more - you will have to increase the number of threads accordingly.

  4. And last but not the least, according to JMeter Best Practices you should always be using the latest version of JMeter (5.3 as of now) so consider upgrading at next available opportunity

Upvotes: 1

Vishal Chepuri
Vishal Chepuri

Reputation: 320

Below are some suggestions that might help you to start with:

  1. You might need to calculate the pacing required to achieve target total transactions:

    Pacing = 3600(Test duration time in seconds) * ( target no.of user) / (no.of total transactions to achieve).

  2. To setup ramp up, ramp down more effectively you will need one of the plugin available in Jmeter Plugins Manager (Plugin name : Stepping Thread Group by blazemeter) which comes with a preview.

  3. How to setup Plugins manager (https://jmeter-plugins.org/wiki/PluginsManager/)

Upvotes: 0

Related Questions