Interview Questions

How do I ensure the remote jmeter server can communicate with the master client?

Apache JMeter FAQ


(Continued from previous question...)

How do I ensure the remote jmeter server can communicate with the master client?

Sometimes java/rmi doesn't determine the correct IP address of your client. For example if you are communicating over a vpn under linux, the ppp interface is the IP that you want to use, but java may end up using the eth1 interface. If this is the case, you will see a connect exception in the jmeter-server log, which will mention an IP address different than the one you want it to use. You can force rmi to use a different IP address than the one it looks up by setting a system property: -Djava.rmi.server.hostname=192.168.5.6

(Continued on next question...)

Other Interview Questions