jmeter cross-thread group to achieve a variable reference

1. Assuming thread group 1, extracted a token:

Want thread group 2, each request or a reference request for the first body,

Implementation, the thread group 1 bean shell sample

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

 

 

Thread 2 calls the group to use:

${__P(newtoken,)}

 

 

View request parameter name:

 

Guess you like

Origin www.cnblogs.com/SunshineKimi/p/12508220.html