You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sushma <su...@yahoo.co.in> on 2007/10/31 09:55:29 UTC

Remote Testing - Connection refused to host

Hi All,

I am doing Load Testing of the web application for that my machine is acting
as the server, I provided the IP address of the client in the
jmeter.properties file and also provided the path of the rmiregistry in the
jmeter-server.bat. 

The following is the Error I am getting:-
2007/10/31 14:07:07 INFO  - jmeter.engine.ClientJMeterEngine: about to run
remote test 
2007/10/31 14:07:07 INFO  - jmeter.engine.ClientJMeterEngine: done
initiating run command 
2007/10/31 14:07:07 INFO  - jmeter.engine.ClientJMeterEngine: running
clientengine run method 
2007/10/31 14:07:07 INFO  - jmeter.engine.ConvertListeners: num threads = 1 
2007/10/31 14:07:07 INFO  - jmeter.engine.ConvertListeners: num threads = 1 
2007/10/31 14:07:07 INFO  - jmeter.samplers.StandardSampleSender: Using
Standard Remote Sampler for this test run 
2007/10/31 14:07:07 INFO  - jmeter.samplers.StandardSampleSender: Using
Standard Remote Sampler for this test run 
2007/10/31 14:07:28 ERROR - jmeter.engine.ClientJMeterEngine: 
java.rmi.ConnectException: Connection refused to host: 192.168.20.24; nested
exception is: 
	java.net.ConnectException: Connection timed out: connect
	at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
	at org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.setHost(Unknown
Source)
	at
org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:119)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
Source)
	at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
Source)
Thanks In advance
Sushma
-- 
View this message in context: http://www.nabble.com/Remote-Testing---Connection-refused-to-host-tf4723580.html#a13505052
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Remote Testing - Connection refused to host

Posted by sebb <se...@gmail.com>.
Did you start the JMeter server on 192.168.20.24 ?

Can you ping 192.168.20.24 from the client?

Can you telnet to 192.168.20.24 port 1099 from the client?

On 31/10/2007, Sushma <su...@yahoo.co.in> wrote:
>
> Hi All,
>
> I am doing Load Testing of the web application for that my machine is acting
> as the server, I provided the IP address of the client in the
> jmeter.properties file and also provided the path of the rmiregistry in the
> jmeter-server.bat.
>
> The following is the Error I am getting:-
> 2007/10/31 14:07:07 INFO  - jmeter.engine.ClientJMeterEngine: about to run
> remote test
> 2007/10/31 14:07:07 INFO  - jmeter.engine.ClientJMeterEngine: done
> initiating run command
> 2007/10/31 14:07:07 INFO  - jmeter.engine.ClientJMeterEngine: running
> clientengine run method
> 2007/10/31 14:07:07 INFO  - jmeter.engine.ConvertListeners: num threads = 1
> 2007/10/31 14:07:07 INFO  - jmeter.engine.ConvertListeners: num threads = 1
> 2007/10/31 14:07:07 INFO  - jmeter.samplers.StandardSampleSender: Using
> Standard Remote Sampler for this test run
> 2007/10/31 14:07:07 INFO  - jmeter.samplers.StandardSampleSender: Using
> Standard Remote Sampler for this test run
> 2007/10/31 14:07:28 ERROR - jmeter.engine.ClientJMeterEngine:
> java.rmi.ConnectException: Connection refused to host: 192.168.20.24; nested
> exception is:
>        java.net.ConnectException: Connection timed out: connect
>        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
>        at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
>        at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
>        at sun.rmi.server.UnicastRef.invoke(Unknown Source)
>        at org.apache.jmeter.engine.RemoteJMeterEngineImpl_Stub.setHost(Unknown
> Source)
>        at
> org.apache.jmeter.engine.ClientJMeterEngine.run(ClientJMeterEngine.java:119)
>        at java.lang.Thread.run(Unknown Source)
> Caused by: java.net.ConnectException: Connection timed out: connect
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(Unknown Source)
>        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>        at java.net.PlainSocketImpl.connect(Unknown Source)
>        at java.net.SocksSocketImpl.connect(Unknown Source)
>        at java.net.Socket.connect(Unknown Source)
>        at java.net.Socket.connect(Unknown Source)
>        at java.net.Socket.<init>(Unknown Source)
>        at java.net.Socket.<init>(Unknown Source)
>        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown
> Source)
>        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown
> Source)
> Thanks In advance
> Sushma
> --
> View this message in context: http://www.nabble.com/Remote-Testing---Connection-refused-to-host-tf4723580.html#a13505052
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org