we are facing issue, while trying to run jmeter distribution testing with master and slave configuration on different machines. Jmeter distribution test is running fine on same machine , but we are getting Connection refused to host: xxx.xxx.xxx.xx; nested exception is:java.net.ConnectException: Connection timed out: connect Failed to configure xxx.xxx.xxx.xxx
1 Answers
0
votes
Most probably your networking configuration is not correct. Make sure that:
- JMeter master and slaves reside in the same subnet, to wit you should be able to reach out from any machine to any machine
The network ports are open in the firewalls so JMeter master could communicate with slaves, the ports are:
1099
- the port you define as
server.rmi.localport
- the ports you define as
client.rmi.localport
Check out the following materials:
- Remote hosts and RMI configuration
- Apache JMeter Distributed Testing Step-by-step
- How to Perform Distributed Testing in JMeter
In case of any problems look into jmeter.log file, normally it contains enough information in order to get to the bottom of the issue