You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Dmitri Colebatch <di...@bigpond.net.au> on 2002/04/24 00:07:35 UTC

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

Re: NonGuiDriver - not exiting

Posted by Dmitri Colebatch <di...@bigpond.net.au>.
Jonathan,

Thanks for the response.  Is Matt Stover on this list?  or should I post to dev?

cheers
dim

----- Original Message ----- 
From: "Jonathan O'Keeffe" <jo...@attbi.com>
To: "JMeter Users List" <jm...@jakarta.apache.org>
Sent: Wednesday, April 24, 2002 8:24 AM
Subject: RE: NonGuiDriver - not exiting


> 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:dim@bigpond.net.au]
> 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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NonGuiDriver - not exiting

Posted by Jonathan O'Keeffe <jo...@attbi.com>.
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:dim@bigpond.net.au]
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>