Reputation: 623
I have a setup thread group to authenticate and set a auth header property. The next thread group is for http request (the thread groups runs sequentially). However, after 15 minutes, I will need to refresh the token.
I don't want to send multiple authenticate request un-necessarily. Is there any way, I can add two thread groups and have only the auth request re-run every 10 minutes whereas the other http request run repeatedly.
Upvotes: 1
Views: 5898
Reputation: 21
you can use also a Runtime Controller here. Put all the requests you want to run for 10 minutes into runtime controller and set the duration value to 10 minutes. Then you need to control the rest of the script on your own. If your script comes to end it will start again from top and so the token will be renewed.
Upvotes: 0
Reputation: 168082
Upvotes: 4