Search code examples
javajmeterperformance-testing

Jmeter, Unable to developed script for below mentioned scenario


I have a scenario where I need configure jmeter to achieve:

  1. 10 o'clock I have to trigger a request with 100 user. ( need to complete within 60 seconds/ramp up 60 seconds)
  2. 10.05 .I need to trigger another request with 200 user. ( need to complete within 60 seconds/ramp up 60 seconds)
  3. 10.10 . I need to trigger another request with 300 user. (need to complete within 60 seconds/ramp up 60 seconds)

5 min interval I need to trigger request and everytime 100 more user compare to previous trigger. This way i need to reach 8000 user may be it takes 6 hours time.

This way I have to reach 8000 user (rampup 60 seconds). ( approx 6 hours overall time).


Solution

  • The easiest way is going for Stepping Thread Group configured like:

    JMeter Stepping Thread GRoup

    The above configuration should match your scenario, you can amend holding 8000 users load and ramp-down period as required. See Advanced Load Testing Scenarios with JMeter Part 4 - Stepping Thread Group and Concurrency Thread Group article for more details if required.

    You can install Stepping and/or Concurrency Thread Group extensions using JMeter Plugins Manager