Variable are used to parametrize a test plan.
JMeter variables have thread scope. This is deliberate, so that threads can act independently.
You can define an initial set of variables within:
All the UDV elements in a test plan - no matter where they are - are processed at the start.
Some test plans need to use different values for different users/threads.
For example, you might want to test a sequence that requires a unique login for each user.
You can change the values of variable on the command-line only by using a property.
To pass variable between thread when the value is not known until the test starts, you may use: