I don't know what do you mean by "threads", but according to documentation <https://jmeter.apache.org/usermanual/component_reference.html#User_Defined_Variables>(however who ever bothers reading it)

1. The User Defined Variables element lets you define an initial set of
   variables, just as in the Test Plan.
   <https://jmeter.apache.org/usermanual/component_reference.html#Test_Plan>
2. Note that all the UDV elements in a test plan - no matter where they
   are - are processed at the start.

"thread specific" UDV is called User Parameters <https://jmeter.apache.org/usermanual/component_reference.html#User_Parameters>

You might want to have > 1 instance of UDV if you want to reference a variable as a partial value of another variable, I cannot think of other use cases

More information: Using User Defined Variables <https://guide.blazemeter.com/hc/en-us/articles/207421395-Using-User-Defined-Variables>


On 9/6/2022 5:56 PM, Tong Sun wrote:
Hi,

I put 2 UDVs *inside *2 threads, but when I execute, I found my 1st thread
is taking the 2nd UDV's value.

Can UDV be thread specific, or is it always global?

Reply via email to