Running multiple Thread Groups sequentially in JMeter
Concerning consecutive execution of thread groups in test plan: simple check Run Test Group consecutively
check-box on the Test Plan configuration screen:
-
Use e.g. Loop Controller for this:
Thread Group Number of Threads = 1 Loop Count = 1 ... Loop Controller Loop Count = N HTTP Request ...
or even schema without Loop Controller but not so flexible:
Thread Group Number of Threads = 1 Loop Count = N ... HTTP Request ...
-
Use
Number of Threads
property of standard Thread Group for this together withRamp-Up Period
property:Thread Group Number of Threads = N Ramp-Up Period = 0 Loop Count = 1 ... HTTP Request ...
This will start N simultaneous threads executing same scenario.
Check the Run Thread Groups consecutively (i.e. run groups one at a time) in the Test Plan
.
- Just add more thread groups in your test plan.
- In test plan properties -> tick Run Test Group consecutively for step by step execution of thread groups.
Here is the simple solution which I found for Running multiple Thread Groups in particular order:
- Check the option "Run Thread Groups consecutively" under "Test Plan"
- Order your "Thread Group/s" in the order you want to be executed using drag and drop approach