I am trying to do a distributed testing in jmeter and failing to establish a connection to remote server. I have configured remote-hosts in jmeter.properties and started jmeter-server.bat in the slave machine. Port 1099 is open in slave machine.

Can someone please help me on what am I missing?

I also tried to add port client.rmi.localport but this is used to send the test results back to the master, but the initial connection itself is failing

1

There are 1 best solutions below

1
Dmitri T On

If JMeter fails to establish the connection to 10.x.x.x machine on port 1099 it might mean one of the following:

  1. JMeter slave process is not running. For example you didn't configure SSL or didn't set server.rmi.ssl.disable property to true
  2. JMeter slave process uses different port, check out effective server_port property value
  3. It might be the case the port 1099 is blocked in operating system firewall
  4. It might be the case JVM used IPv6 address and you're trying to use IPv4. Check interface listening to port 1099 using netstat or equivalent and if this is the case - force JMeter to use IPv4 by adding java.net.preferIPv4Stack=true line to system.properties file

More information: