My token generator request will give "ext_expires_in":"599","expires_on":"1620730631". But i want to create token every 5 min once and i want to run another request()it is present in second parallel controller if token generator request is passed, the third parallel controller will use token as variable from 1st parallel controller and from second parallel controller also it will use some variables. In other thread I have so many requests. Those need to run continuously without waiting. Here each thread is independent.
1 Answer
- I don't see any sense in using these Parallel Controllers because you have only one Sampler inside the parallel controller and the Parallel Controllers execute their children in parallel, just delete them, they don't add any value
- The easiest way of running Token Generation request once per 5 minutes is moving it into a separate Thread Group. You can pass the token from that Thread Group to "main" thread group via __setProperty() function or using Inter-Thread Communication Plugin
- Since JMeter 3.1 you're supposed to use JSR223 Test Elements and Groovy language for scripting so consider migrating from your Beanshell test elements
-
Thank you for your reply. Ok i will delete that parallel controller. But i have 3 token generators here in each thread– AshwinMay 11, 2021 at 11:13