开发者

How to synchronize JMeter Thread groups

开发者 https://www.devze.com 2022-12-18 12:36 出处:网络
I fill the database with JMeter. There is 2 thread groups which fill 2 tables in parallel. After these开发者_StackOverflow社区 2 tables filled I need to start the last thread group to fill the third t

I fill the database with JMeter. There is 2 thread groups which fill 2 tables in parallel. After these开发者_StackOverflow社区 2 tables filled I need to start the last thread group to fill the third table. How can I do it? Is it possible to synchronize JMeter Thread groups?


You could do a while controller for the third thread group, and do something like this:

ThreadGroup 1 - Code to fill Table 1 - Set a UserDefined Variable "Group1_done==true" as the last step

ThreadGroup 2 - Code to fill Table 2 - Set a UserDefined Variable "Group2_done==true" as the last step

ThreadGroup 3 - WHILE CONTROLLER "Group1_done==true"&&"Group2_done==true" - Code to fill Table 3

0

精彩评论

暂无评论...
验证码 换一张
取 消