jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <>
Subject Re: How to use assertions to control logic
Date Wed, 11 Nov 2009 20:56:26 GMT
The variable * JMeterThread.last_sample_ok * is set to "true" or "false"
after all assertions for a sampler have been run.
but the if controller is needed to check this...I dont know of any way to
bypass the rest of the test other than the if controller.


On Wed, Nov 11, 2009 at 11:13 AM, mwolfe38 <> wrote:

> In my application I have a set of samplers running in a while controller. I
> have an xpath assertion under each sampler which checks for an error node.
> If there isn't an error, i want to continue to the next sample, otherwise I
> want to restart.
> Do any of the controllers allow this, or do I have to do an xpath extractor
> to set a variable and put an if statement after each sample to control the
> logic?
> --
> View this message in context:
> Sent from the JMeter - User mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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