Jmeter global variable and user variable setting and use
Global variable
1. Add global variables
2. Set
${__setProperty(token,"token123",)} The left side of the brackets is the function, and the variable name and value in the brackets are the variable name and variable value, which can be changed according to the needs of your own scene
3. Use
${__property( token)}
Note: When I set up, "token123" carries quotation marks, so when I use it without quotation marks
User-defined variables
1. Setting
These two are the same to me, I don’t know what yours look like
2. Configuration
3. Use
4. Use in other thread groups