Jmeter图形生成器抛出错误java.lang.ClassNotFoundException:kg.apc.jmeter.可视化器.响应时间超时GUI

30byixjq  于 2022-11-09  发布在  Java
关注(0)|答案(1)|浏览(165)

当我尝试使用图形生成器生成图形时,出现以下错误,并且未生成PNG文件

2022-10-01 14:27:54,062 WARN o.a.j.e.StandardJMeterEngine: Error encountered during shutdown of kg.apc.jmeter.listener.GraphsGeneratorListener@4652388c
java.lang.RuntimeException: java.lang.ClassNotFoundException: kg.apc.jmeter.vizualizers.ResponseTimesOverTimeGui
    at kg.apc.jmeter.PluginsCMDWorker.getGUIObject(PluginsCMDWorker.java:237) ~[jmeter-plugins-cmd-2.2.jar:?]
    at kg.apc.jmeter.PluginsCMDWorker.getGUIObject(PluginsCMDWorker.java:234) ~[jmeter-plugins-cmd-2.2.jar:?]
    at kg.apc.jmeter.PluginsCMDWorker.getGUIObject(PluginsCMDWorker.java:230) ~[jmeter-plugins-cmd-2.2.jar:?]
    at kg.apc.jmeter.PluginsCMDWorker.setPluginType(PluginsCMDWorker.java:73) ~[jmeter-plugins-cmd-2.2.jar:?]
    at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:221) ~[jmeter-plugins-graphs-ggl-2.0.jar:?]
    at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:137) ~[jmeter-plugins-graphs-ggl-2.0.jar:?]
    at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:230) ~[ApacheJMeter_core.jar:5.5]
    at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:507) ~[ApacheJMeter_core.jar:5.5]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: kg.apc.jmeter.vizualizers.ResponseTimesOverTimeGui
    at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:588) ~[?:?]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[?:?]
    at java.lang.Class.forName0(Native Method) ~[?:?]
    at java.lang.Class.forName(Class.java:383) ~[?:?]
    at java.lang.Class.forName(Class.java:376) ~[?:?]
    at kg.apc.jmeter.PluginsCMDWorker.getGUIObject(PluginsCMDWorker.java:227) ~[jmeter-plugins-cmd-2.2.jar:?]
    ... 8 more
2022-10-01 14:27:54,098 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)

[enter image description here][1]

  [1]: https://i.stack.imgur.com/941Fy.png
uttx8gqw

uttx8gqw1#

您缺少(至少)Response Times Over Time插件,因此请确保安装:

  1. 3基本图形
  2. 5个附加图表
  3. KPI与KPI图表
    可以使用JMeter Plugins Manager来完成

相关问题