Thanks, this works exactly how i wanted.


Deepak Shetty wrote:
> 
> 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 <[email protected]> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-use-assertions-to-control-logic-tp26306852p26308488.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to