I run my test plan in non GUI mode and it executed successfully, however it was only the csv report that got generated while the html report wasn't generated in the specified folder. this is my folder directory in cmd:

jmeter -n -t C:\Users\Documents\apache-jmeter-5.0\bin\creditLimitOp1.jmx -l 
C:\Users\Documents\apache-jmeter-5.0\bin\report\crdlimit.csv -e -o 

JMeter cannot generate HTML Report in a non-empty folder, consider storing .jtl file in one place and the dashboard in another. You can copy the .jtl file to report folder once dashboard generation is completed.

Also consider adding -f argument to your command line so JMeter could overwrite the results file if it exists (it might be another cause for your problem)

The final command line would be something like:

jmeter -n -t -f C:\Users\Documents\apache-jmeter-5.0\bin\creditLimitOp1.jmx -l C:\Users\Documents\apache-jmeter-5.0\bin\crdlimit.csv -e -o C:\Users\Documents\apache-jmeter-5.0\bin\report && copy C:\Users\Documents\apache-jmeter-5.0\bin\crdlimit.csv C:\Users\Documents\apache-jmeter-5.0\bin\report

Another way of viewing your test result in a fancy HTML version is using BM.Sense service

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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