jmeter 跨线程组实现变量引用

1.假设线程组1,提取了一个token:

想要线程组2,每个请求引用在头或者请求体,

实现方式,线程组1中使用bean shell sample

${__setProperty(newtoken,${token},true)};

线程组2调用使用:

${__P(newtoken,)}

请求参数查看name:

猜你喜欢

转载自www.cnblogs.com/SunshineKimi/p/12508220.html