3

I am using Jmeter for load testing and I'm new to this. I have an API where I want to send around 36000 requests in a given time, which is- 5 minutes. What should be the configuration of threads, ramp-up time, loop-count, and constant throughput timer for this scenario?

I am using the following configurations, but I am unable to reach the decided RPS-

Thread- 1000
Ramp-up- 5 Minute
loop-count 36
constant throughput timer- 7200

Where is my configuration wrong?

john mich
  • 2,477
  • 3
  • 17
  • 32

1 Answers1

1

You can try to reduce the ramp-up period to be close to zero and increase the number of loops to "infinite", the total number of requests can be limited using Throughput Controller

In general there could be 2 main reasons of not being able to conduct the required load:

  1. JMeter cannot produce the desired number of hits per second. Things to try:

  2. Application cannot handle that many requests per second. Things to try:

    • Inspect configuration and make sure it's suitable for high loads
    • Inspect CPU, RAM, Disk, etc. usage during the load test, it might be simply lack of resources, it can be done using JMeter PerfMon Plugin
    • Re-run your test with profiler tool telemetry enabled
    • Raise a ticket as it is a performance bottleneck
Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • I see, This makes sense! Thank you for your response. I'll consider moving to distributed testing and profile my code better. – john mich Oct 30 '20 at 19:02