0
votes

I am able to extract access_token and pass it to header manager on http request in same thread group .

But I want to use this variable in other tread group also .

I am extracting json value using JSON path extractor:

Json Path Extractor

And Putting it on Header of other Same Thread Group then it work fine :

Header Manager

1

1 Answers

2
votes

Demo:

JMeter Sharing Variables between thread groups

More information: Knit One Pearl Two: How to Use Variables in Different Thread Groups


There is a more "intelligent" way of sharing variables between threads/thread groups - Inter-Thread Communication plugin, check out documentation for comprehensive explanation and test plans examples.