문제

I fill the database with JMeter. There is 2 thread groups which fill 2 tables in parallel. After these 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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top