Vote count:
0
So I have a jmeter file that takes files as arguments. The batch file and the files passed as arguments are located in different folders like
C:\SampleScript\Jmeter\apache-jmeter-2.12\bin\jmeter.bat C:\SampleScript\Jmeter\file.jmx
Output csv file will be stored in C:\SampleScript\Jmeter\file.csv
Sample perl script is located in
C:\SampleScript\sample.pl
The following is a part of the sample.pl
system("Jmeter/apache-jmeter-2.12/bin/jmeter.bat -n -t Jmeter/file.jmx -l Jmeter/file.csv &");
but it does not find the file. I tried using the chdir and it works fine to run only the jmeter.bat but then i am not sure how to pass the arguments.
asked 1 min ago
Perl command to run a batch file in one folder and the files as arguments in another folder
Aucun commentaire:
Enregistrer un commentaire