'Parallel execution in jmeter results in failure of some requests which is dependent on first thread group
I have 2 thread groups which I'm executing in parallel.
ThreadGroup1: Creating access token and refreshing it after every 2 minutes.
Thread Group2: Requests are dependent on ThreadGroup1 for the access tokens resulting in failure of some requests in the start during load testing.
After observing the errors it says that the access token was expired. It means at the start itself the old token is getting saved in the variable and which is used for some requests in a default way during the execution.
I thought of using some preprocessor which will make sure that the token is not expired. But I'm not sure how will I check about the expired token.
Is there any other solution that I can implement?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
