I would put the SessionRefresh token code as a TestFragment and call this
fragment from each ThreadGroup with a Module controller placed at the
beginning of the TGs. In the TestFragment you can put an "If Controller" to
check the elapsed time from the last refresh (save the time as a property
so it can be seen by every threadgroup) with a margin of security (e.g.,
refresh the token every 50 minutes instead of 55 minutes).

Le ven. 27 févr. 2026 à 23:47, Abhitosh Patil <[email protected]> a
écrit :

> Hi,
>
> I have 4 thread groups in my JMeter script.
> Run Thread Groups Consecutively (One at a time) option is ON.
>
> Now I want to add 1 more thread group at the top for session token
> generation. It should generate fresh session token after every 55 minutes.
>
> I can't uncheck Run Thread Groups Consecutively option.
>
> How can I handle this?
>
> Thanks in advance.
>
> Abhitosh Patil
>

Reply via email to