jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: How to use assertions to control logic
Date Wed, 11 Nov 2009 20:56:26 GMT
Hi
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#assertions
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.

regards
deepak

On Wed, Nov 11, 2009 at 11:13 AM, mwolfe38 <mwolfe38@gmail.com> 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:
> http://old.nabble.com/How-to-use-assertions-to-control-logic-tp26306852p26306852.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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