I am running load test on one of my sftp server application using jmeter. I run my jmx script as below
nohup sh jmeter.sh -n -t <jmx_file> -l <jtl_file> &
Script does have Simple Data Writer which creates csv file with result, which i convert into html using below command running on cmd from bin folder of jmeter.
jmeter -g <csv_path> -o <html_folder>
It was working couple of days back and now if i run the above command it gives error as below
The system cannot find the path specified. errorlevel=3 Press any key to continue . . .
There was an update in my jdk from 1.8_241 to 1.8_251 and i have updated my java_home as well. Do i need to do anything else in jmeter to make this work?
Advertisement
Answer
Double check that you can launch JMeter normally without nohup like:
./jmeter.sh --version
- Ensure that the test is producing the .jtl results file and the file is up to date and not from the previous executions
- Check the contents of nohup.out file
In general you should not be using any listeners, it is sufficient to have the .jtl results file in order to generate the dashboard and the dashboard can be generated during the test run like:
jmeter -n -t <jmx_file> -l <jtl_file> -e -o <html_folder>
if you don’t have any background logic to remove “stale” jtl_file and html_folder you will need to add
-f
command-line argument to force JMeter to overwrite the old result file and dashboard folder like:jmeter -n -f -t <jmx_file> -l <jtl_file> -e -o <html_folder>