You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Jose montiel <jm...@manduca.com> on 2002/07/22 01:39:20 UTC

Nongui needs a display ?

Hi,

   I have search through the list archive and I haven founf nothing about this so.

   I'm runnign JMeter in nongui mode in a Sun box running Solaris 8 (it is a remote Server), but in order to make it works, I have to set environment variable DISPLAY to point my box (local). If i don't set this variable I get the following error

  root@manduca3:/app/stressTest/jakarta-jmeter  ./bin/jmeter -n -t TestPlan-Static-1.jmx
  Created the tree successfully
  Starting the test
  Running the test!
  X connection to manduca3:12.0 broken (explicit kill or server shutdown).

So my questions are :

     * if it is a nongui mode why it requires a graphic display?.
     * My connection to the server running JMeter is kind of slow, could it affect the results?

Thanks
 










Re: Nongui needs a display ?

Posted by Marcel May <Ma...@consol.de>.
Check if your local machine really allows X connections
(xhost +SERVERNAME, start an xterm or similar on server).

I guess the reason that JMeter needs an X connection here is that
some heavywheight java gui class is instantiated though
never really displayed ...

CU,
Marcel


On Sun, Jul 21, 2002 at 07:39:20PM -0400, Jose montiel wrote:
> Hi,
> 
>    I have search through the list archive and I haven founf nothing about this so.
> 
>    I'm runnign JMeter in nongui mode in a Sun box running Solaris 8 (it is a remote Server), but in order to make it works, I have to set environment variable DISPLAY to point my box (local). If i don't set this variable I get the following error
> 
>   root@manduca3:/app/stressTest/jakarta-jmeter  ./bin/jmeter -n -t TestPlan-Static-1.jmx
>   Created the tree successfully
>   Starting the test
>   Running the test!
>   X connection to manduca3:12.0 broken (explicit kill or server shutdown).
> 
> So my questions are :
> 
>      * if it is a nongui mode why it requires a graphic display?.
>      * My connection to the server running JMeter is kind of slow, could it affect the results?
> 
> Thanks
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
Marcel May
Development
ConSol* GmbH

Re: Nongui needs a display ?

Posted by Mike Stover <ms...@apache.org>.
I'm assuming you're running JMeter 1.7.  This version is dependent on GUI code, 
even in non-gui mode.  This should be fixed in 1.7.1 and 1.7.2 (I would be very 
interested in hearing about it if you try these versions).  

A slow connection to the server JMeter is testing could affect test results - it would 
depend on how much data is being sent.

-Mike

On 21 Jul 2002 at 19:39, Jose montiel wrote:

> Hi,
> 
>    I have search through the list archive and I haven founf nothing about this so.
> 
>    I'm runnign JMeter in nongui mode in a Sun box running Solaris 8 (it is a remote Server), but in order to make it works, I have to set environment variable DISPLAY to point my box (local). If i don't set this variable I get the following error
> 
>   root@manduca3:/app/stressTest/jakarta-jmeter  ./bin/jmeter -n -t TestPlan-Static-1.jmx
>   Created the tree successfully
>   Starting the test
>   Running the test!
>   X connection to manduca3:12.0 broken (explicit kill or server shutdown).
> 
> So my questions are :
> 
>      * if it is a nongui mode why it requires a graphic display?.
>      * My connection to the server running JMeter is kind of slow, could it affect the results?
> 
> Thanks
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 



--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688

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