JMeter版本 - 2.13我的JMeter安装中有以下插件 -
并且想要为之前运行的测试生成图表 -
但我最终得到以下例外 -
2015/12/29 13:45:15 ERROR - jmeter.JMeter: Uncaught exception: java.lang.NoClassDefFoundError: kg/apc/cmd/UniversalRunner at kg.apc.jmeter.PluginsCMDWorker.(PluginsCMDWorker.java:52) at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:146) at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:137) at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:226) at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:448) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: kg.apc.cmd.UniversalRunner at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 6 more
我是否错误配置了插件?
您需要在lib/ext文件夹中添加CMDRunner-1.3.1.jar:
http://jmeter-plugins.org/wiki/JMeterPluginsCMD/
它在标准捆绑中.