Eg: I have token grneration api in a thread group and the token generated in this request need to be sent as header value HTTP header manager for the api request present in another thread group
Asked
Active
Viewed 566 times
1 Answers
0
- If thread groups are being run sequentially you can use __setProperty() function in 1st Thread Group to convert the JMeter Variable holding the token into a JMeter Property. JMeter Properties are global and can be accessed by all threads no matter in which thread group they are and JMeter Variables are local to the thread. In 2nd Thread Group the property can be read using __P() function
- If thread groups are being run in parallel - use Inter-Thread Communication Plugin

Dmitri T
- 159,985
- 5
- 83
- 133