load testing - Running multiple setUp threads concurrently in jmeter - Stack Overflow

I have two setUp thread groups:One runs one time to set up a lot of things.The second one loops a few

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.

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.

Share Improve this question asked Mar 25 at 18:55 KamiccolaKamiccola 556 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 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.

  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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744175089a4561714.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信