On 29/09/06, Rajesh Balamohan <[EMAIL PROTECTED]> wrote:
Folks,
This is really a JMeter devel question ...
Are there any events which gets invoked in JMeter when a threadgroup starts and ends?
No; there are only testStarted()/testEnded() and threadStarted()/threadFinished() events.
Some more details are follows... 1. I am planning to include CPUMonitoring as a plugin in my JMeter. This can take serverip:port as the parameter and connect to that server for monitoring.
What type of test element will this be?
2. I am stuck up in a situation where I need to call "start", "stop" of cpumonitoring in a threadgroup.
Can you not use the testStarted()/testEnded() events?
3. I need plugin the CPUMonitor code when a threadgroup starts and should invoke "stop" when the threadgroup ends. Any pointers on this will be of great help.
Might be possible to add threadGroup Start/Stop events, but a work-round in the meantime would be to count the number of calls to threadStarted()/threadFinished() events and start the monitoring on the first Started call, and stop on the last Finished call.
~Rajesh.B --------------------------------------------------------------------- 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]

