1

I am trying to generate an HTML report dashboard for JMeter test in NON-GUI mode with a command

jmeter -n -t C:\apache-jmeter-5.1.1\apache-jmeter-5.1.1\bin\DeviceManagementSystem1.jmx -l C:\Users\user\Desktop\Test\Reports\Report.csv -e -o C:\Users\user\Desktop\Test\Reports\Htmlreport\Report 

it is showing error

Error in NonGUIDriver java.lang.IllegalArgumentException: Results file:C:\Users\user\Desktop\Test\Reports\Report.csv is not empty

But I have made an empty CSV file by saving an empty .xlxs file as CSV file

Prome
1,01511 silver badges25 bronze badges
asked Dec 17, 2019 at 9:18

1 Answer 1

1

Add -f command line argument (available since JMeter 2.13) to your JMeter startup line like:

jmeter -n -t C:\apache-jmeter-5.1.1\apache-jmeter-5.1.1\bin\DeviceManagementSystem1.jmx -l C:\Users\user\Desktop\Test\Reports\Report.csv -f -e -o C:\Users\user\Desktop\Test\Reports\Htmlreport\Report

This parameter will "tell" JMeter to overwrite the existing results file and the HTML reporting dashboard folder with the new results.

See Bug 58164 for more information

answered Dec 17, 2019 at 9:39

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.