The scope of a per-uservariable is set to be visible in "all tests for this user," which makes it visible to all tests being executed by the same virtual user.
前用户变量的范围被设置为在“All tests for this user”中可见,这使得它对相同虚拟用户所执行的所有测试可见。
2
The uservariable is created and referenced by appending a period and name to the name of the scope object. For example, if a button has the following server-side onclick script.
通过在scope对象名称后附加句点和名称来创建并引用用户变量。
3
A general solution for the problem above is to have each user thread hold a locale variable by passing the variable to the user thread during its construction.