jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shmuel Krakower <shmul...@gmail.com>
Subject Re: Stop thread after a sampler error
Date Wed, 22 Feb 2012 13:43:49 GMT
Nice, I used If controller + "${JMeterThread.last_sample_ok}" == "false"
and put Test Action in it with Stop Thread.

Thanks Philippe!

Shmuel Krakower.

On Wed, Feb 22, 2012 at 3:14 PM, Philippe Mouawad <
philippe.mouawad@gmail.com> wrote:

> Look at Test Action sampler.
>
> Regards
> Philippe
> http://www.ubik-ingenierie.com
>
> On Wed, Feb 22, 2012 at 2:12 PM, Shmuel Krakower <shmulikk@gmail.com>
> wrote:
>
> > Hi all,
> >
> > I am looking for a way to stop a thread if a specific sampler failed.
> > I cannot use the Thread Group configuration as it affects all samplers in
> > it and I need to stop the thread only if a specific sampler failed.
> >
> > E.g. I have a login sampler in once only controller, and want to stop the
> > thread only if the login fails and not when any other sampler in this
> > thread group will fail.
> >
> > Regards,
> > Shmuel Krakower.
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message