Re: Session token generation in JMeter with Run Thread Groups Consecutively option ON

Abhitosh Patil <[email protected]> Sat, 28 Feb 2026 22:04:49 +0530
Newsgroups gmane.comp.jakarta.jmeter.user
Message-ID <CAC-b7DRSVqQdkODV=MQf6dZceDUVE45ayfZsh+1-vEvq8QfJ+A@mail.gmail.com>
--00000000000047dfd6064be4eff4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I tried this option but no luck.

On Sat, Feb 28, 2026 at 9:28=E2=80=AFAM Abhitosh Patil <[email protected]=
om>
wrote:

> Thanks @Lilian
>
> I'll try this.
>
> On Sat, 28 Feb, 2026, 05:44 Liliane et Robert Bourgault du Coudray, <
> [email protected]> wrote:
>
>> I would put the SessionRefresh token code as a TestFragment and call thi=
s
>> 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 propert=
y
>> 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=C3=A9vr. 2026 =C3=A0 23:47, Abhitosh Patil <abhitosh.qa@gma=
il.com> a
>> =C3=A9crit :
>>
>> > 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
>> >
>>
>

--00000000000047dfd6064be4eff4--