Ultimate Thread Group Configuration

56 views
Skip to first unread message

Kushal Mahajan

unread,
Nov 22, 2024, 2:06:47 AM11/22/24
to jmeter-plugins
Hi Team, 

I have two Ultimate Thread Groups(named as "Sequential" and "StepUp") in my JMeter Test Plan. I am configuring Ultimate thread group using jmeter property threads_schedule= spawn(threadsCount, initalDelay, startupTime, holdLoadFor, shutdownTime)  

How can I assign different 
threads_schedule to two different Ultimate Thread Groups, as both thread groups have different configurations?

Please let me know if you need more detail on this.


Thanks,
Kushal

Kushal Mahajan

unread,
Nov 22, 2024, 4:27:25 AM11/22/24
to jmeter-plugins
These two different ultimate thread groups running consecutively (one at a time)

Dmitri T

unread,
Nov 22, 2024, 5:45:39 AM11/22/24
to jmeter-plugins
You could achieve the same using a single Thread Group.

If you need to use 2 different Ultimate Thread Groups for any reason you can add a normal Thread Group between them with 1 user and 1 iteration and single JSR223 Sampler with the following Groovy code:

props.put('threads_schedule', 'your-schedule-for-2nd-Ultimate-Thread-Group')

Vincent Daburon

unread,
Nov 25, 2024, 7:27:12 AM11/25/24
to jmeter-plugins
Hi,
I often use several groups that use "Module Controller" to target a "Simple Controller" in the "core" of the script test.
E.g: 
Test Group DEBUG : 1 thread, 1 iteration and stop if error
Test Group classic : n htreads, duration n sec and "Start Next Thread Loop"
Ultimate Thread Group multi lines of Threads Schedule and "Start Next Thread Loop"

2024-11-25_3_threads_groups_module_controller.png
Reply all
Reply to author
Forward
0 new messages