Sunstrike527
Sunstrike527

Reputation: 607

How to make JMETER make 166 requests in 1 second?

I need to make stress testing for some service and I need to make 10 000 requests. How to make correctly 166 requests in 1 second ?
Have I made correct settings below ? (picture below) enter image description here

Upvotes: 0

Views: 892

Answers (2)

Chamindu
Chamindu

Reputation: 183

  1. Add a new thread group.
  2. Add 166 threads as thread count.
  3. Add 1 sec as Rampup time.
  4. Set looping condition as 1.
  5. Then Implement the HTTP request and run the test

Upvotes: 1

Dmitri T
Dmitri T

Reputation: 168157

If you want to make 166 requests in 1 second and stop here is the relevant Thread Group setup:

enter image description here

If you want to make 166 requests per second for 1 minute resulting in 9960 requests it's better to consider using Throughput Shaping Timer configured like:

enter image description here

in that case it makes sense to use Concurrency Thread Group which can be connected to the Throughput Shaping Timer via Feedback Function so JMeter could kick off extra threads if the current amount is not enough to conduct the necessary number of requests per second

Upvotes: 1

Related Questions