Jmeter - Ultimate Thread Group Scenario
7:00:00 PM vikas 0 Comments Category : JMeter
While I was searching for a JMeter problem, I saw a guy asking help for a complicated Workload scenario in a blog.
Scenario:-
The under-test web application has 5 scenarios. The ratio to hit these scenarios are as follows : 10:25:30:5:30 by percentage. The total time of execution is 5 hours. In the first hour the number of users should be 100, next hour it should be 80, then it should be 200, the 4th hour it should be 500 and in the last hour it should be 300.
So I thought to put that workload model over here to the reach of others also.
Scenario:-
The under-test web application has 5 scenarios. The ratio to hit these scenarios are as follows : 10:25:30:5:30 by percentage. The total time of execution is 5 hours. In the first hour the number of users should be 100, next hour it should be 80, then it should be 200, the 4th hour it should be 500 and in the last hour it should be 300.
So I thought to put that workload model over here to the reach of others also.
Steps To create that workload model:-
- The very first step open JMeter GUI
- Add 5 Ultimate Thread Group under test plan
- Record each scenario actions as a child of respective Ultimate Thread Group
- Now assign the value inside the Threads Schedule box of Ultimate Thread Group as per the requirement
- Scenario-1 should execute for 5 hours by 10% of the user running for that particular hour
- Scenario-2 should execute for 5 hours by 25% of the user running for that particular hour
- Scenario-1 should execute for 5 hours by 30% of the user running for that particular hour
- Scenario-1 should execute for 5 hours by 5% of the user running for that particular hour
- Scenario-1 should execute for 5 hours by 30% of the user running for that particular hour
There may be another way to create the same workload modal, Just put a comment if have any.