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, 14 Mar 2012 06:43:34 GMT
Hi,
Old topic but I think should be updated as there is a better solution.
I could just use a Post Processor: "Result Status Action Handler" to
get the same of what I did below.

Shmuel.



> 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