java - 如何在JMeter中跨线程组传递变量?

标签 java jmeter

尝试从线程组的响应数据中提取值,将其存储在变量中,并在后续线程组中使用该变量。如果有人提供有关如何继续的见解,那就太好了。

最佳答案

变量是线程的本地变量。使用所有线程共有的属性。

来自here :

Properties are not the same as variables. Variables are local to a thread; properties are common to all threads, and need to be referenced using the __P or __property function.

关于java - 如何在JMeter中跨线程组传递变量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35084011/

相关文章:

testing - 负载测试 : Choosing between a tool or simulating clients on my own for this scenario?

docker - 将 JMeter 插件与 justb4/jmeter Docker 镜像一起使用会导致错误

java - @Inject 字段始终为空

java - Java 中的布隆过滤器

applet - 安全异常 : Bad applet class name after upgrade to JRE 1. 7.0_13

JMeter - 使用另一个变量计算变量

regex - 如何在jmeter中参数化正则表达式

java - JNA - DsGetDcNameA

java - 如何向 ListView 添加文本大小?

jmeter - 在 JMeter 中运行一次大型文件列表一次(可能按特定顺序)