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

Abhitosh Patil <[email protected]> Sat, 28 Feb 2026 09:28:29 +0530
Newsgroups gmane.comp.jakarta.jmeter.user
Message-ID <CAC-b7DTBbf85OWpBmZqy1HsTzVRYBQgeqgASCoyehZ+xJ5fDzA@mail.gmail.com>
--000000000000894cb2064bda5eb1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 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=C3=A9vr. 2026 =C3=A0 23:47, Abhitosh Patil <abhitosh.qa@gmai=
l.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
> >
>

--000000000000894cb2064bda5eb1--