简体   繁体   中英

HTML File is not generating in JMETER

Hello I am using this command to generate the HTML report of my results from JMETER and everytime I get the below error when I try to run the command.

An error occurred: Unknown arg: Ahmad\Datum\Automation\Results\result1.csv errorlevel=1

As per Generation from an existing sample CSV log file user manual entry the command should be something like:

jmeter -g "C:\Users\Rana Hadaiq Ahmad\Datum\Automation\Results\result1.csv" -o "C:\somefolder\where\you\want\dashboard\to\be\generated"

If you have spaces or other special characters in the path to your.csv results file - surround everything with quotation marks

Another possible reason is that your version of JMeter doesn't have this HTML reporting dashboard generation feature, it is available since JMeter 3.0 so if you're using an older version - you will need to upgrade, moreover according to JMeter Best Practices you should be always using the latest version of JMeter

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM