0

I have two setUp thread groups:

  1. One runs one time to set up a lot of things.
  2. The second one loops a few times through a file. Since both of these take a long time to run and they don't conflict with each other, I want them to run concurrently, which happens to match what I want with the rest of the test plan.

Jmeter documentation doesn't say anything about how multiple set up threads behave. I wanted to share this information since I could not find an answer anywhere about it.

2 Answers 2

0

Through testing I found that setUp threads work exactly the same as the rest of the test plan. If you uncheck Run Thread Groups consecutively at the Test Plan level, then all same-level threads will run at the same time.

So, the order that the threads execute will be:

1. First all setUp thread groups run at the same time, as many as you have.

2. Then all regular thread groups run at the same time.

3. Then all tearDown thread groups run at the same time.

Sign up to request clarification or add additional context in comments.

Comments

0
  1. setUp Thread Groups are being executed before main Thread Groups

  2. Multiple setUp Thread Groups are being executed according to "Run Thread Groups consecutively" checkbox on Test Plan level

  3. If you want to execute main Thread Group after completion of setUp Thread Groups or to run a Thread Group after another one you can use i.e. If Controller or Inter-Thread Communication Plugin to pause one Thread Group until another one is done.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.