3 Oct 2006 02:30
distributed testing woes
Matt Wlazlo <mwlazlo <at> gmail.com>
2006-10-03 00:30:39 GMT
2006-10-03 00:30:39 GMT
Hi,
I'm tearing my hair out trying to get distributed testing working.
I have a simple configuration:
Console: matt.domain
remote_hosts=java.domain
Slave: java.domain
(default configuration)
I run the server like this (after rmiregistry 1099&):
./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s
But I always get the following error on the server:
2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper:
Test Started on java.domain:1099
2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper:
testStarted(host) java.rmi.ConnectException: Connection refused to
host: 127.0.1.1; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted(Unknown
Source)
at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListenerWrapper.java:74)
(Continue reading)
On the server, remote_hosts is commented out; is that right? It's not
mentioned in the tutorial..
matt
On 10/3/06, Peter Lin <woolfel <at> gmail.com> wrote:
> 127.0.0.1 is the loop back, which is there for an example.
>
> you need to replace that with the IP's of the systems. go through page 2
> step-by-step and it will work.
>
> peter
>
> On 10/2/06, Matt Wlazlo <mwlazlo <at> gmail.com> wrote:
> >
> > The thing I really can't understand, and which I think is the problem,
> > is that the server is trying to connect to 127.0.1.1 for some reason.
> > It's probably just my incomplete knowlege of RMI, but shouldn't the
> > console be the one having problems to connect (via RMI) if anything is
> > wrong?
> >
> > *boggle*
> >
> > Matt
RSS Feed