Jmeter全局变量的用法-props
**props**
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200511154914374.png)
1、 props只能在beanshell里面进行赋值和取值;
2、如果要在非beanshell里面进行取值可以用${__property(变量名)}的方式来取;
KaTeX parse error: Expected group after '_' at position 2: {_̲_setproperty(变量…{引用名},)}
1、引用名的写法必须是${}这种,可以在非beanshell中使用
2、String aaa=“bbb”;
KaTeX parse error: Expected group after '_' at position 2: {_̲_setproperty(变量…{aaa},)},在别处调用${__property(变量名,)}是无法取到引用名的值滴,必须通过props.put(“bbb”,aaa);的方式来进行赋值