With JMeter 1.9.1 or earlier, there are no built-in facilities for doing this.
The latest version of the code in CVS has an enhanced Thread Group test element, which adds basic Sampler error handling. If an error is detected in a Sample (either the Sampler failed, or an Assertion failed), then you have 3 options: * Continue (this is the default, and is the current behaviour) * Stop the Thread * Stop the Test This should be available from a nightly build soon. Hopefully that will help solve your problem. Let us know how you get on. S. ----- Original Message ----- From: "Vladimir Tsygankov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 03, 2003 7:18 PM Subject: How to stop running a test script? Hello, friends! Could you please answer me is any tool in Jmeter to stop my script when it is running under Jmeter without GUI (it is important!). I want to stop running after I get a response about Exception. My test script has lots of threads and if I get response with java exception and don't break sending new requests the server is down. Assertions can test responses and allow to analyse requests with string like "Exception:" but how to stop running my script? Thanks in advance, Vladimir --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

