1

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.

enter image description here

1 Answer 1

1
  1. 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
  2. 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
  3. 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
1
  • Thank you for your reply. Ok i will delete that parallel controller. But i have 3 token generators here in each thread
    – Ashwin
    May 11, 2021 at 11:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.