在第一个线程组中:
props.put("erroriden", vars.get("erroriden1"));在第二个线程组中:
String[] erroriden = props.get("erroriden").split(",");- JMeterVariables范围仅限于当前线程组
- JMeter属性是JVM实例的全局通用Java属性
- 有关在JMeter中使用Beanshell的更多信息,请参见如何使用BeanShell:JMeter最喜欢的内置组件指南。

在第一个线程组中:
props.put("erroriden", vars.get("erroriden1"));在第二个线程组中:
String[] erroriden = props.get("erroriden").split(",");