Jmeter test plan is working in local mode (single node) but it not working in distributed mode Jmeter test plan is working in local mode (single node) but it not working in distributed mode kubernetes kubernetes

Jmeter test plan is working in local mode (single node) but it not working in distributed mode


I can see at least one reason for failure: your test plan is not a valid XML file because it's missing these 2 lines at the bottom:

    </hashTree></jmeterTestPlan>

Also given you disable secure RMI on the master side you should do the same for all the slaves:

jmeter-server -Jserver.rmi.ssl.disable=true

And finally, pay attention to the IP address of the JMeter slaves, when you start JMeter slave you should see something like:

Created remote object: UnicastServerRef2 [liveRef: [endpoint:XX.XX.XX.XX:1794,objID:[38be521f:16d80bfab94:-7fff, 2395028286451043349]]]

If the IP address is not something you expect, i.e. machine where you run JMeter slave on has multiple network interfaces, you can explicitly specify which one to bind via java.rmi.server.hostname property like:

jmeter-server -Jserver.rmi.ssl.disable=true -Djava.rmi.server.hostname=XX.XX.XX.XX

More information: