我是Jmeter
的新手,在Jmeter v 3.0中使用java.lang.ClassNotFoundException:kg.apc.jmeter.vizualizers.SynthesisReportGui
时获得jp@gc Graph generator plugin
。请帮忙。
我正在尝试以 GUI 模式运行Jmeter。Jmeter configuration Image
我在lib
中放置了以下广告:
jmeter-plugins-graphs-ggl-2.0.jar
cmdrunner-2.0.jar
jmeter-plugins-cmn-jmeter-0.3.jar
并在ext
文件夹中跟随:
jmeter-plugins-graphs-ggl-2.0.jar
jmeter-plugins-manager-0.10.jar
cmdrunner-2.0.jar
jmeter-plugins-cmn-jmeter-0.3.jar
jmeter-plugins-cmd-2.1.jar
以下是日志:
2017/02/13 18:31:09 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-2
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-1
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-5
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-3
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-4
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-3
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-3
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-1
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-1
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-4
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-4
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-2
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-2
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-5
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-5
2017/02/13 18:31:18 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2017/02/13 18:31:18 INFO - jmeter.config.KeystoreConfig: Destroying Keystore
2017/02/13 18:31:18 INFO - kg.apc.jmeter.PluginsCMDWorker: Using JMeterPluginsCMD v. N/A
2017/02/13 18:31:18 WARN - kg.apc.jmeter.JMeterPluginsUtils: JMeter env exists. No one should see this normally.
2017/02/13 18:31:18 WARN - jmeter.engine.StandardJMeterEngine: Error encountered during shutdown of kg.apc.jmeter.listener.GraphsGeneratorListener@215ff3c0 java.lang.RuntimeException: java.lang.ClassNotFoundException: kg.apc.jmeter.vizualizers.SynthesisReportGui
at kg.apc.jmeter.PluginsCMDWorker.getGUIObject(PluginsCMDWorker.java:237)
at kg.apc.jmeter.PluginsCMDWorker.getGUIObject(PluginsCMDWorker.java:234)
at kg.apc.jmeter.PluginsCMDWorker.setPluginType(PluginsCMDWorker.java:73)
at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:221)
at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:137)
at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:215)
at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:436)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: kg.apc.jmeter.vizualizers.SynthesisReportGui
2017/02/13 18:31:18 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
答案 0 :(得分:4)
您收到的错误是缺少Synthesis Report plugin,您需要:
lib/ext
文件夹安装插件并使其保持最新的另一种(更好)方法是使用JMeter Plugins Manager