Hi Sebb,
This is the command which I am using for remote testing

${JMETER_HOME}/bin/jmeter -n  -t path/testPlan.jmx
-l path/result.jtl -r

Thanks,
-Gurjant




On Sat, Aug 21, 2010 at 8:29 PM, sebb <[email protected]> wrote:

> On 19 August 2010 13:20, gurjant singh <[email protected]> wrote:
> > Hi,
> >
> > When I run the Jmeter test for remote testing on more than one
> > servers(distribution mode) on GUI, it works well. But when I run same
> test
> > on command line(NON-GUI mode), it throws exception *Connection refused.
> *For
> > more details please check the exception given below:-
> >
> > jmeter.samplers.RemoteListenerWrapper: testStarted(host)
> > java.rmi.ConnectException: Connection refused to host: 172.16.0.58;
> nested
> > exception is:
> >
> >        java.net.ConnectException: Connection timed out
> >
> >        at
> sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
> >
> >        at
> > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
> >
> >        at
> > sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
> >
> >        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
> >
> >        at
> >
> org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted(Unknown
> > Source)
> >
> >        at
> >
> org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListenerWrapper.java:83)
> >
> >        at
> >
> org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:279)
> >
> >
> >  Can anyone help me fix this issue?
>
> What command-line options are you using?
>
> GUI and non-GUI should behave exactly the same, unless you change the
> settings - e.g. by using command-line options.
>
> Are you sure that you have started the JMeter server(s)?
>
> > Thanks,
> >
> > -Gurjant
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to