Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
尝试获取HTML报告时在JMeter中获取标头错误_Jmeter_Jmeter Plugins - Fatal编程技术网

尝试获取HTML报告时在JMeter中获取标头错误

尝试获取HTML报告时在JMeter中获取标头错误,jmeter,jmeter-plugins,Jmeter,Jmeter Plugins,我正在尝试从JMeter测试计划中获取HTML报告。不幸的是,下面的错误总是显示出来 File '/Users/roradhak/Cisco/GET/PPS-Proxy-Performance/Graph2_CSV.csv' does not contain the field names header, ensure the jmeter.save.saveservice.* properties are the same as when the CSV file was created or

我正在尝试从JMeter测试计划中获取HTML报告。不幸的是,下面的错误总是显示出来

File '/Users/roradhak/Cisco/GET/PPS-Proxy-Performance/Graph2_CSV.csv' does not contain the field names header, ensure the jmeter.save.saveservice.* properties are the same as when the CSV file was created or the file may be read incorrectly

事实上,我试着做了所有的设置更改,如和其他链接中所述。有人能帮我解释一下吗?

您需要确保user.properties文件中至少有以下行:

.jtl结果文件的第一行需要如下所示:

timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,Latency,IdleTime,Connect
如果您有不同的输出,请修改JMeter配置以匹配本文中描述的输出

参考资料:


您需要确保user.properties文件中至少有以下行:

.jtl结果文件的第一行需要如下所示:

timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,Latency,IdleTime,Connect
如果您有不同的输出,请修改JMeter配置以匹配本文中描述的输出

参考资料:


我可以确认属性文件中已经设置了jmeter.save.saveservice.print_field_names=true。当你说.jtl文件时,我不是在生成.jtl文件。我正在从聚合报告创建一个.csv文件,该报告使用命令行作为HTML报告的输入。仍然不行:jtl==csv,不要使用聚合报告输出,比如jmeter-n-t test.jmx-l result.jtl,并生成报告仪表板,比如jmeter-g result.jtl-o/Report/destination/folderYou make my day。好极了它工作得很好。命令行的使用而不是使用聚合报告完成了这项工作。Dmitri。。最后一件事。。。我给出的线程数是500,永远都是10。但当我运行命令行时,我可以看到样本数只有10个。为什么呢?我希望有5000个样本。jtl==csv,不要使用聚合报告输出,在命令行非GUI模式下运行JMeter测试,如JMeter-n-t test.jmx-l result.jtl,并在2017年3月6日16:35生成报告仪表板,如JMeter-g result.jtl-o/report/destination/folder–Dmitri t,这比阅读问题和not更准确。我可以确认JMeter.save.saveservice.print_field_names=true是已在我的属性文件中设置。当你说.jtl文件时,我不是在生成.jtl文件。我正在从聚合报告创建一个.csv文件,该报告使用命令行作为HTML报告的输入。仍然不行:jtl==csv,不要使用聚合报告输出,比如jmeter-n-t test.jmx-l result.jtl,并生成报告仪表板,比如jmeter-g result.jtl-o/Report/destination/folderYou make my day。好极了它工作得很好。命令行的使用而不是使用聚合报告完成了这项工作。Dmitri。。最后一件事。。。我给出的线程数是500,永远都是10。但当我运行命令行时,我可以看到样本数只有10个。为什么呢?我希望有5000个示例。jtl==csv,不要使用聚合报告输出,在命令行非GUI模式下运行JMeter测试,如JMeter-n-t test.jmx-l result.jtl,并生成报告仪表板,如JMeter-g result.jtl-o/Report/destination/folder–Dmitri t Mar 6'17 16:35,这比阅读问题和其他内容节省了很多