Dmitri -

I've also experienced the nongui driver not exiting at the end of the test
run.  Matt Stover confirmed that this was a bug a few days ago.  If you've
already got a patch for this, you might want to let Matt know so that it
can be incorporated into the application.

- Jonathan


-----Original Message-----
From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 23, 2002 6:08 PM
To: JMeter Users List
Subject: NonGuiDriver - not exiting

hey all,

I'm wanting to run some jmeter tests as part of our test suite for a
webapp.  We've used JMeter in the gui mode before, and I'm relatively
comfortable with that.  However, it seems that there are a few things with
the nongui mode:

[using 1.7beta3]

1. The nongui batch script doesn't have the full classpath set - I copied
the classpath portion of the jmeter script and used that instead.

2. If the root element in the test file is not a TestCase, it results in a
NullPointerException (the stack trace is at work - will send it if ppl are
interested)

and more importantly

3. When the tests finish, java doesn't exit.  ThreadGroup has a live
ThreadGroup.SampleQueue which is waiting for a sample.  Note that my test
does not as yet have any samplers attached to it.  I've patched the sources
so that when the last thread of each threadgroup finishes, the threadgroup
will release inform its SampleQueue (ThreadGroup#queue) so that the program
can exit.

Has anyone else experienced this, or is this something thats occuring
because of something in the way I have my config set up.

cheers
dim


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

Reply via email to