jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: BeanShell Assertion - Can a failed assertion force the next iteration of a loop
Date Fri, 25 Sep 2009 15:04:25 GMT
On 25/09/2009, Eddie O'Sullivan <eos@qad.com> wrote:
>
>  Hi all,
>
>  If I have the following test:
>
>       Loop Controller (x loops)
>             HTTP1 Request
>                   - Beanshell Assertion
>             HTTP2 Request
>                   - Beanshell Assertion
>             HTTP3 Request
>                   - Beanshell Assertion
>             ......
>
>  If the beanshell assertion fails at HTTP1 Request, is it possible move on
>  to the next iteration of the loop? I am aware of the
>  SampleResult.setStopThread(true) but I do not want the thread to stop just
>  the current iteration of the loop.

No, the only options are stop thread and stop test.

If you only want to stop processing after HTTP1, you could enclose the
subsequent samplers in an If Controller.

>  Thanks in advance,
>  Eddie
>
>
>
>   Eddie O'Sullivan                                (Embedded image
>   Application Performance                          moved to file:
>   Group                                             pic29852.gif)
>
>
>   QAD Ireland Ltd.           eos@qad.com
>   Hamilton House             Tel:  +353 61
>   National Technological     213616
>   Park                       http://www.qad.com/
>   Limerick, Ireland
>
>
>
>   This e-mail may contain
>      QAD proprietary
>   information and should
>       be treated as
>       confidential.
>
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message