Works fine for me using a test containing just a Java Sampler.

I can even run the same test multiple times, without needing to
restart the server.

Please could you try creating a test plan with a single Java Request
Sampler, and see how that works for you?

If tha works OK, but other test plans do not, then presumably there is
something else in your test plan that is causing the client to hang.

By the way, the code sample you mention is used by the server code,
not the client.
This suggests that the problem is with the server.
What happens when you run in GUI mode? Does the test complete OK, i.e.
does the green light go out?

S.
On 06/06/06, Sumit Shah <[EMAIL PROTECTED]> wrote:
I have tested this under 2.1.1 and the recent nightlies.  The non-GUI client 
does not exit.  I'm not sure how to to tell if the remote servers do not exit.  
After breaking out of the run I can still reconnect to them.  It does not 
appear to be stray or hung processes on the remote machine.  Let me know if you 
need more info.


-----Original Message-----
From:   sebb [mailto:[EMAIL PROTECTED]
Sent:   Tue 6/6/2006 5:24 AM
To:     JMeter Developers List
Cc:
Subject:        Re: Remote testing

Which version of JMeter?

Does the remote server exit - i.e. is it only the JMeter client that
does not exit?

S.
On 05/06/06, Sumit Shah <[EMAIL PROTECTED]> wrote:
> Dear JMeter-Devs:
>
> I have been using JMeter in non-gui mode and remote testing.  However
> when the test completes it does not exit.  It simply hangs on:
>
> Tidying up ...
> ... end of run
>
>
> A fix for this could include the addition of this line:
>
> Thread.currentThread().setDaemon(true);
>
> In the startServer method of JMeter.java like so:
>
>       public void startServer(int port) {
>               try {
>                       new RemoteJMeterEngineImpl(port);
>                       Thread.currentThread().setDaemon(true);
>                       while (true) {
>                               Thread.sleep(Long.MAX_VALUE);
>                       }
>               } catch (Exception ex) {
>                       log.error("Giving up, as server failed with:",
> ex);
>                       System.exit(0);// Give up
>               }
>       }
>
>
> Can this line be checked in?
>
>
> Thanks!
>
> Sumit
>
> ---------------------------------------------------------------------
> 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]







---------------------------------------------------------------------
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