0

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?

1

1 Answer 1

1

You may set value for variable / property even in HTTP Request Sampler:

enter image description here

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,)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.