0

I have a created test plan in Jmeter . I did all the prerequisite configuration for master slave configuration in jmeter.properties file. I wanted to execute the plan with one master and two slave for 100 threads( using 50 threads for one slave). I copied the test plan and csv in bin directory of master and slave machines in same location. Also I added the csv path in test plan in slave machines too. I tried with multiple solution and go though the multiple solution on websites but still data is not getting fetch from csv from slave machine and load is not getting distributed on all slaves.

Could you suggest any solution for this?

I tried with multiple solution and go though the multiple solution on websites but still data is not getting fetch from csv from slave machine and load is not getting distributed on all slaves.

Could you suggest any solution for this?

1 Answers1

0
  1. Any configuration should go into user.properties file

  2. You don't need to copy the test plan onto slave machines, you need to only run JMeter Server process on them using jmeter-server.bat or jmeter-server scripts depending on your operating system

  3. Copy the CSV file to all slaves and make sure to use either full path or correct relative path. The CSV file doesn't have to be present in the master machine

  4. Ensure that JMeter's RMI ports are correctly set and open in firewalls

  5. Assuming all above each JMeter slave should pick up its own version of the CSV file, if it doesn't - check out what's in jmeter-server.log file on each slave, the reason should be there.

Dmitri T
  • 159,985
  • 5
  • 83
  • 133
  • Thanks for the Answer so quickly! But I am using different user logins in all CSV files, using 1 to 10 users in one CSV file which is placed in slave 1 & using 11 to 12 users in the second CSV file which is placed in the second slave. I added the "CSV data set config" in the test plan. So how to add the path of both the CSV files in the test plan which is in master machine? – vishakha bharambe Jan 10 '23 at 12:16
  • The files must have the same name and live under the same path – Dmitri T Jan 10 '23 at 12:44