jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Pfeiler <pfei...@e-spirit.de>
Subject Re: How to kill a thread
Date Mon, 13 Aug 2007 14:17:54 GMT
On Monday 13 August 2007 16:05, Johanna Briseno wrote:
> Hi,
>
> Exists a method to kill a thread before the test is executed completely?

inside a beanshell processor you can use something like

org.apache.jmeter.engine.StandardJMeterEngine.stopThread(		
Thread.currentThread().getName());

SampleResult.setStopThread(true);

>
>
> Thanks,
>
>
> Jo

-- 
André Pfeiler 

The e-Spirit Company GmbH
Barcelonaweg 14
D-44269 Dortmund
http://www.FIRSTspirit.de 

fax: +49 231 28661-59
e-mail: pfeiler@e-Spirit.de 

Geschäftsführer: 
Jörn Bodemann, Michael Kenfenheuer
Amtsgericht Dortmund (HRB 13961)

---------------------------------------------------------------------
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