JMeter性能测试3.0时代之-多维度的图形化HTML报告
阿羅写了 15410 字,被 76 人关注,获得了 78 个喜欢
Java,后端服务,数据处理,测试,拥抱全栈http://www.aloo.meAn error occurred: Error while processing samples:Consumer failed with message :Consumer failed with message :Consumer failed with message :No column <threadName> found in sample metadata <timeStamp,elapsed,label,responseCode,responseMessage,dataType,success,failureMessage,bytes,grpThreads,allThreads,Latency,IdleTime>, check #jmeter.save.saveservice.* properties to add the missing column
楼主你好,按照你的配置最后报了这个错。。求解决~
看报错关键信息:No column <threadName> found in sample metadata
解决方案:确认./bin/jmeter.properties文件中有如下配置:jmeter.save.saveservice.thread_name = true。也可以在界面上你的listener的configure选项里面勾选“save thread name”
11a80f8fc74f:@阿羅 确认都设置了还是这个问题,用什么监听器有关系吗??
2016.09.21 14:57 回复11a80f8fc74f:@阿羅 An error occurred: Data exporter "html" is unable to export data. 重新运行了下出现了这个错 是不是哪里设置有问题呢?
2016.09.21 15:21 回复11a80f8fc74f:@阿羅 最新进展运行可以了但是目录下为空。。。实在没招了,求帮助~~
2016.09.21 16:19 回复jmeter -n -t <test JMX file> -l <test log file> -e -o <Path to output folder>
这个命令,放在哪里执行阿?
请教下,为什么我生成报告就报这个错误,报告文件夹生成了但是没有 index.html
Tidying up ... @ Sun Nov 06 12:09:41 CST 2016 (1478405381170)
The JVM should have exitted but did not.
The following non-daemon threads are still running (DestroyJavaVM is OK):
Thread[StandardJMeterEngine,5,main], stackTrace:sun.nio.fs.WindowsNativeDispatch
er#CopyFileEx0
sun.nio.fs.WindowsNativeDispatcher#CopyFileEx
sun.nio.fs.WindowsFileCopy#copy
sun.nio.fs.WindowsFileSystemProvider#copy
java.nio.file.Files#copy
org.apache.jmeter.report.dashboard.TemplateVisitor#visitFile at line:126
org.apache.jmeter.report.dashboard.TemplateVisitor#visitFile at line:48
java.nio.file.Files#walkFileTree
java.nio.file.Files#walkFileTree
org.apache.jmeter.report.dashboard.HtmlTemplateExporter#export at line:487
org.apache.jmeter.report.dashboard.ReportGenerator#exportData at line:348
org.apache.jmeter.report.dashboard.ReportGenerator#generate at line:256
org.apache.jmeter.JMeter$ListenToTest#generateReport at line:1144
org.apache.jmeter.JMeter$ListenToTest#testEnded at line:1089
org.apache.jmeter.engine.StandardJMeterEngine#notifyTestListenersOfEnd at line:2
15
org.apache.jmeter.engine.StandardJMeterEngine#run at line:436
java.lang.Thread#run
Thread[DestroyJavaVM,5,main], stackTrace:
... end of run
阿羅:@b064472f6728 如果这个问题是必现或者高概率重现的情况,可以尝试将jmeter.propreties的 jmeterengine.force.system.exit属性设置为true,效果是当JMeter运行于NON-GUI下,当测试结束后,强制退出