You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Fulvio Guglielmelli <fu...@yahoo.it> on 2008/03/12 16:46:08 UTC

stop a test execution into a javarequest class

Hi, 
i implemeted a set of test using javarequest call.

if during the runTest() or setupTest() i receive an exception and i want stop the test how can I do it?

the sampleResult obj habve not a STOP method.

thanks
FULVIO

       
---------------------------------
Inviato da Yahoo! Mail.
Il servizio di posta con lo spazio illimitato.

Re: stop a test execution into a javarequest class

Posted by sebb <se...@gmail.com>.
On 12/03/2008, Fulvio Guglielmelli <fu...@yahoo.it> wrote:
> Hi,
>  i implemeted a set of test using javarequest call.
>
>  if during the runTest() or setupTest() i receive an exception and i want stop the test how can I do it?
>
>  the sampleResult obj habve not a STOP method.
>
>  thanks
>

Throw a JMeterStopThreadException to stop the current thread.

Or throw a JMeterStopTestException

> FULVIO
>
>
>
>  ---------------------------------
>  Inviato da Yahoo! Mail.
>  Il servizio di posta con lo spazio illimitato.

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