Have a look at the Test Action sampler which has an option to do exactly that.

On 07/04/2009, oomkiller <hoa.ngu...@oracle.com> wrote:
>
>  I am using the Java request sampler for load-testing some Java server,
>  and when certain conditions met ( conditions evaluated by Java code
>   in my Java sampler class/object )  I like to  STOP JMeter gracefully
>  without corrupting/loosing any JMeter test-output/log files.
>
>  Does anyone know how to stop JMeter in such situation ?
>   I need to be able to stop JMeter without running the entire test-planned
>   duration (of JMeter scheduler)/number-of-loops.
>    Basically trying to avoid the unnecessary JMeter execution of the
>  remaining
>    scheduled duration once the conditions are passed.
>
>  Any pointers would be very very appreciated.
>  Thanks!
>  oomkiller
>
>
>  --
>  View this message in context: 
> http://www.nabble.com/How-to-stop-JMeter%3A-using-Java-request-sampler.-tp22919951p22919951.html
>  Sent from the JMeter - Dev mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
>  For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to