Reputation: 1
I am inexperienced in JMeter. What I want to do is to synchronize JMeter Thread groups. With respect to "How to synchronize JMeter Thread groups", I would like to ask an account of how to 'set a UserDefined Variable "Group1_done==true"
as the last step'.
I defined user defined variable with initial value but I did not set it value later. How can I set it value in any step?
Upvotes: 0
Views: 1912
Reputation: 12873
You may set value for variable / property even in HTTP Request Sampler:
Your while loop will look like:
Thread Group 1 . . . . . . [execute your test logic here] . . . HTTP Request // last step ${__setProperty(group1_done,TRUE,)} . . .
Condition expression for WHILE cycle in 3rd Thread Group:
${__P(group1_done,)} && ${__P(group2_done,)
Upvotes: 1