Hi,
You could add a properties in the user.properties file in the <JMETER_HOME>/bin directory
This properties could be FILE_CSV=/dir1/file1 for the 1st load injector (slave jmeter)
and FILE_CSV=/dir2/file2 for 2sd load injector.
and use ${__P(FILE_CSV)} in the file name
Or start jmeter_server.bat this a parameter like -JFILE_CSV=/dir1/file1
Or in the SetUpThread group add a beanshell
and add parameter ${__machineName()}
and test the machine name
log.info("computerMachine = " + computerMachine );
if (computerMachine .contains("computer1")) {
props.setProperty("K_FILE", "D:/d1/file1");
}
if (computerMachine .contains("computer2")) {
props.setProperty("K_FILE", "D:/d2/file2");
}
Regards.
Vincent D.