You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Brian Devaney <bd...@docfinity.com> on 2011/03/11 22:02:42 UTC

JMeter Shutdown message

In an attempt to get JMeter scripts to finish, I added a second thread
group, timer and test action to my scripts.  The thread starts in
parallel with the main test thread.  The timer pauses the thread until a
set period of time has elapsed, 30 seconds after the main thread has
ended.  Then the test action stops all the remaining threads.  

This method worked well in the JMeter environment, but when I try to run
this as part of a TestNG suite, the shutdown message seems to be
skipped.  The TestNG suit gets no indication that the JMeter script has
finished.  I have looked but I could not find any information about how
the notification works from JMeter to calling applications.

-- 
Brian Devaney
DocFinity® by Optical Image Technology, Inc.
100 Oakwood Avenue, State College,  PA  16803
ph: 814.238.0006 ext. 274
fax: 814.238.0011
mailto:bdevaney@DocFinity.com
http://www.docfinity.com/
 
 
DISCLAIMER: This email may contain proprietary information, some or all
of which may be legally privileged. It is for the intended recipient
only. If an addressing or transmission error has misdirected this email,
please notify the author by replying to this email. If you are not the
intended recipient, you may not use, disclose, distribute, copy, print,
or rely on this email.




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


Re: JMeter Shutdown message

Posted by sebb <se...@gmail.com>.
On 11 March 2011 21:02, Brian Devaney <bd...@docfinity.com> wrote:
> In an attempt to get JMeter scripts to finish, I added a second thread
> group, timer and test action to my scripts.  The thread starts in
> parallel with the main test thread.  The timer pauses the thread until a
> set period of time has elapsed, 30 seconds after the main thread has
> ended.  Then the test action stops all the remaining threads.
>
> This method worked well in the JMeter environment, but when I try to run
> this as part of a TestNG suite, the shutdown message seems to be
> skipped.  The TestNG suit gets no indication that the JMeter script has
> finished.  I have looked but I could not find any information about how
> the notification works from JMeter to calling applications.

JMeter is not really designed for embedded use.

Unless you invoke it from the main() class in NewDriver it may not
behave properly.

> --
> Brian Devaney
> DocFinity® by Optical Image Technology, Inc.
> 100 Oakwood Avenue, State College,  PA  16803
> ph: 814.238.0006 ext. 274
> fax: 814.238.0011
> mailto:bdevaney@DocFinity.com
> http://www.docfinity.com/
>
>
> DISCLAIMER: This email may contain proprietary information, some or all
> of which may be legally privileged. It is for the intended recipient
> only. If an addressing or transmission error has misdirected this email,
> please notify the author by replying to this email. If you are not the
> intended recipient, you may not use, disclose, distribute, copy, print,
> or rely on this email.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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