have been trying to setup distributed/remote testing with JMeter. I have a 
slave installation on a linux box with IP: 172.16.2.44 and a master Windows XP 
box with IP: 172.16.40.117. I have started the slave installation with 
“SERVER_PORT=9409 jmeter-server”. When I do a ps –eaf on the slave (linux box) 
I see this:
neel     9731  9727  0 13:40 pts/0    00:00:00 rmiregistry 9409
neel     9733  9727  0 13:40 pts/0    00:00:00 /bin/sh 
/home/indus/jakarta-jmeter-2.2/bin/jmeter -Dserver_port=9409 -s CLASS
PATH=
neel     9735  9733  0 13:40 pts/0    00:00:00 java -server -Xms256m -Xmx256m 
-XX:NewSize=128m -XX:MaxNewSize=128m -XX:MaxTe
nuringThreshold=2 -Dsun.rmi.dgc.client.gcInterval=600000 
-Dsun.rmi.dgc.server.gcInterval=600000 -XX:PermSize=64m -XX:MaxPermS
ize=64m -jar /home/indus/jakarta-jmeter-2.2/bin/ApacheJMeter.jar 
-Dserver_port=9409 -s CLASSPATH=
Now I go to the master (Windows XP box) and change only one line in 
jmeter.properties file - remote_hosts=172.16.2.44:9409 and start JMeter in GUI 
mode. When I click Run -> Remote Start -> 172.16.2.44:9409, I get the following 
error in jmeter.log – 
2007/04/21 13:55:21 INFO  - jmeter.engine.ClientJMeterEngine: about to run 
remote test 
2007/04/21 13:55:21 INFO  - jmeter.engine.ClientJMeterEngine: done initiating 
run command 
2007/04/21 13:55:21 INFO  - jmeter.engine.ClientJMeterEngine: running 
clientengine run method 
2007/04/21 13:55:21 INFO  - jmeter.engine.ConvertListeners: num threads = 5 
2007/04/21 13:55:21 INFO  - jmeter.engine.ConvertListeners: num threads = 5 
2007/04/21 13:55:21 INFO  - jmeter.samplers.StandardSampleSender: Using 
Standard Remote Sampler for this test run 
2007/04/21 13:55:22 ERROR - jmeter.engine.ClientJMeterEngine:  
java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested 
exception is: 
        java.net.ConnectException: Connection refused: connect
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
        at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
        .       
        and so on …
I have tried modifying the jmeter.properties file by saying - 
remote_hosts=172.16.2.44 
server_port=9409
But the same error occurs. I can ping the slave machine (172.16.2.44) from the 
Windows box and vice versa. What am I doing wrong?
Any help would be greatly appreciated.


Thanks and regards
Indraneel

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to