Whichever is more appropriate. You could even use a BeanShell Listener
if that was better suited to the task.

Note that there are other ways of stopping a thread, e.g.

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Result_Status_Action_Handler

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Test_Action

S
On 13/08/07, Johanna Briseno <[EMAIL PROTECTED]> wrote:
> inside a beanshell processor you can use something like
>
> Which Beanshell?
>
> Beanshell PreProcessor or
> Beanshell PostProcessor
>
>
> Thanks.
>
>
>
>
> 2007/8/13, André Pfeiler <[EMAIL PROTECTED]>:
> >
> > 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: [EMAIL PROTECTED]
> >
> > Geschäftsführer:
> > Jörn Bodemann, Michael Kenfenheuer
> > Amtsgericht Dortmund (HRB 13961)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to