1
votes

I have a JMeter Test Plan setup with 15 different thread groups.

Each thread group contains different HTTP requests.

Every thread group is setup to have only 1 user (number of threads) and not to loop, So that all requests only run once.

When I start the test to run I want JMeter to start the 1st thread group and then I want the 2nd thread group to start after 10 seconds. The 3rd to start after 20 seconds (from when the 1st one started) and so on.

How can I set this up? Ramp up period isn't the answer.

Here are my thread groups: enter image description here

I want the thread group Batch cs1 to start running the requests it has (each http request it has takes awhile to run, over minutes). Then I want to wait 10 seconds and have thread group Batch cs2 to run. Then I want to wait another 10 seconds and have thread group Batch cs3 to run, and so on until all thread groups have been started and running. Do I just have the test plan setup wrong?

3

3 Answers

1
votes

Use Flow Control Action at the starting of each thread group except for the first group(no need to check Run Thread Groups Consecutively option). In 2nd thread group's control action, use 10000 ms, 3rd thread group control action, use 20000ms (or whatever time interval you may want) and so on. I have tried this with 6 thread groups. sample test plan

So when I replayed the test plan, 'HTTP Request1' started immediately and 'HTTP Request2' started at 10th second and 'HTTP Request3' started at 20th second and so on.. Hope this helps!

0
votes

You can add Flow Control Action at the start of your thread groups with pause time of 10000 milliseconds

In Test Plan check Run Thread Groups consecutively so it will execute one thread group at a time.

0
votes

You can use the startup delay (seconds) as 0 for first thread group, 10 for second thread group, 20 for third thread group, etc.

enter image description here