Akshay
Akshay

Reputation: 11

Distributed testing - jmeter

I am trying to run a sample on Distributed environment on Jmeter.

Tasks performed till now :- • Firewall Disabled-Checked • Ping check to and fro for slave-master machine working fine. • Slave-master using same version of Jmeter – Checked • Set the environment variable path for Jmeter. • Reset the Jmeter properties file with slave machine IP. • Ran jmeter-server.bat on the slave machine. Performed run from the jmeter gui by Remote Start --> selected the slave machine Ip.

Error Received :- exception creating connection to: 169.254.16.13; nested exception is:java.net.SocketException: Network is unreachable:connect

Please provide a fix for the issue.

Upvotes: 0

Views: 1598

Answers (1)

vins
vins

Reputation: 15370

Ensure that below ports are open and available in both the master and slave machines. [these ports can be anything]

Slave ports:

Server_port=1099 
server.rmi.localport=50000

Master port:

client.rmi.localport=60000

Once you setup, you should be able to telnet if the connectivity works from the master to slave. [just pinging ip confirms that master and slave are in the network. telnet confirms that they can talk to each other]

telnet <ipaddress> <port>

If it still does not work, setting this system property for java could help

java.net.preferIPv4Stack=true

Upvotes: 1

Related Questions