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 < [email protected]> wrote: > Look at Test Action sampler. > > Regards > Philippe > http://www.ubik-ingenierie.com > > On Wed, Feb 22, 2012 at 2:12 PM, Shmuel Krakower <[email protected]> > 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. >
