1. Added same execution script on master and slave
  2. Change the property file of master by adding slave IP address and uncommenting uncomment this on property file: server.rmi.create=false
  3. Run server file on slave command prompt : jmeter-server -Djava.rmi.server.hostname="SlaveIP"
  4. Run on Master command prompt : jmeter -n -t F:\jmeter3.3\apache-jmeter-3.3\bin\Hubdataposting_Test.jmx -l F:\jmeter3.3\apache-jmeter-3.3\bin\output.jtl -R "slaveIP" - Djava.rmi.server.hostname="MasterIP"
  5. Communication get established, output file get created but it create as empty file.

When tried running individually on both servers like master and slave, it works as expected and creates output file as a result. but when tried with master-slave execution it gives an empty output file

  • 2018-02-22 15:34:11,037 ERROR o.a.j.t.JMeterThread: Test failed! java.lang.IllegalArgumentException: Could not read file header line for file C:\jmeter3.3\apache-jmeter-3.3\bin\test.csv Feb 22, 2018 at 10:09
  • @Dmitri T, what are you trying to tell in the last comment about parameterization ?? Can you please explain me more details? because I have copied test.csv in a slave's respective path Feb 22, 2018 at 11:17
  • Is anyone know the solution? please let me know Feb 26, 2018 at 5:26

1 Answer 1


As per Remote Testing user manual section

If the test uses any data files, note that these are not sent across by the client so make sure that these are available in the appropriate directory on each server.

So you need to copy your test.csv file over to all remote slaves.

If for some reason you cannot do it (i.e. slaves are being created from scratch) you can reconsider parameterization to use some .properties file which will be passed via -G command-line argument.

Also be aware that according to JMeter Best Practices it is recommended to use the latest version of JMeter so consider upgrading to JMeter 4.0 (or higher) on next available opportunity.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.