Reputation: 1
I want to hit my application with 200,000 requests in an hour. I am using JMeter to perform this testing.
I am doing this test on a local spring boot application.
The result I am looking for is to configure JMeter thread group for a throughput of 55 hits per second.
How should I configure the thread group to get 200,000 in an hour?
So far I've tried -
First Approach i) Reduced my requirement to 10,000 requests in 180 seconds which is a smaller proportion to my original ask. ii) Number of threads - 10,000 iii) Ramp-up period - 180 seconds iv) This works fine and I get the desired throughout of 55/sec, but this fails further as I increase the proportion to 50,000 threads in 900 seconds(15 minutes), I get the desired throughout but JMeter and my system becomes extremely slow and I also notice 6% error in response. I believe this is not the correct approach when I want to achieve 200k and more.
Second Approach i) I found this solution to put in a Constant throughput timer, which I did. ii) Number of threads - 10 iii) Ramp-up period - 900 seconds iv) Infinite loop v) Target throughout in minutes - 3300 vi) calculate throughout based on - all active threads.
Although I had configured the ramp-up to be 15 minutes, it seems to run for more than 40 minites until it achieves a throughput of 55/sec due to the constant throughput timer. Found no errors in response in this approach.
Upvotes: 0
Views: 769
Reputation: 168072
The easiest is going for Precise Throughput Timer
However you need to understand 2 things:
Upvotes: 1