Techknow Study

Stepping Thread Group (JMeter)

12:51:00 PM vikas 0 Comments Category :

Stepping Thread Group

As the name suggests in Stepping thread group we increase and decrease the user load step by step.
with the help of Stepping thread group we can find out how much load application server can handle by providing different configuration
Before going into more details let see how to add Stepping thread group:-
  1. Download "Custom Plugin"
  2. Extract the downloaded Zip file and paste:-
    1. "jmeter-plugins-cmn-jmeter-0.3" jar file inside the JMeter lib folder (E:\apache-jmeter-3.0\lib)
    2. "jmeter-plugins-casutg-2.1" and "jmeter-plugins-manager-0.11" jar file to ext folder present inside the lib folder (E:\apache-jmeter-3.0\lib\ext)
  3. Close the JMeter interface if open and open again by double clicking on the JMeter batch file present inside the JMeter bin folder
  4. Click on Option-->Plugins Manager
  5. Select Custom Thread Groups present inside Available Plugins

  6. Click On Apply Changes and Restart JMeter
  7. Now Right click on Test Plan
  8. Go Add --> Threads (Users) -->jp@gc - Stepping Thread Group
  9. Now Configuration of stepping thread group:-
    1. This group will start : [200] threads – Total no of users that we want to run the load test.
    2. First, wait for : [ 5 ] seconds – Delay after just click on the start button.
    3. Then start : [ 20 ] threads – After 5 second delay 20 thread/user with start to execute.
    4. Next, add : [ 10 ] threads every : [ 20 ] seconds using ramp up : [ 2 ] seconds – 10 thread will add after 20 second using ramp up of 2 second till the time all the thread ramped up.
    5. Then hold load for : [ 3600 ] seconds – The hold the total load [200] for 1 Hour.
    6. Finally stop : [ 10 ] threads every : [ 10 ] seconds – 10 thread will ramp down in every 10 second till all the threads will ramp down.
In above configuration, Total 200 users are waiting for 5 seconds and then start 20 threads. Next add 10 threads in every 20 second –> every 2 second there will be 1 thread ramp up. Then the load will be in steady state for 3600 seconds. Finally stop 10 threads every 10 second till the total threads ramp down.

RELATED POSTS

0 comments