How to synchronize JMeter thread groups

I populate the JMeter database. There are two groups of threads that populate 2 tables in parallel. After populating these two tables, I need to run the last group of threads to populate the third table. How should I do it? Is it possible to synchronize JMeter thread groups?

+4
source share
1 answer

You can make a while controller for the third group of threads and do something like this:

TopicGroup 1 - Code to populate table 1 - Set UserDefined Variable "Group1_done == true" as the last step

TopicGroup 2 - Code to populate table 2 - Set the UserDefined variable "Group2_done == true" as the last step

TopicGroup 3 - WHILE CONTROLLER "Group1_done == true" && "Group2_done == true" - Code to populate table 3

+5
source

Source: https://habr.com/ru/post/1299946/


All Articles