Jmeter Perfmon指标收集器的例外情况

时间:2017-03-22 14:08:43

标签: java performance jmeter jmeter-plugins

当我尝试运行Jmeter Load测试时,我面临以下异常。 我需要监控Web和App服务器的CPU和内存,因此我添加了Perfmon Metrics Collectors并在Web和App Server上配置了Server代理

正在安装Jmeter版本3.1

Jars补充道: enter image description here

当我执行Jmeter应用程序时,我面临以下异常:

ERROR - jmeter.JMeter: Uncaught exception:  java.lang.NoClassDefFoundError: kg/apc/perfmon/metrics/MetricParams
    at kg.apc.jmeter.perfmon.PerfMonCollector.initiateConnector(PerfMonCollector.java:200)
    at kg.apc.jmeter.perfmon.PerfMonCollector.initiateConnectors(PerfMonCollector.java:175)
    at kg.apc.jmeter.perfmon.PerfMonCollector.testStarted(PerfMonCollector.java:126)
    at org.apache.jmeter.reporters.ResultCollector.testStarted(ResultCollector.java:348)
    at kg.apc.jmeter.vizualizers.CorrectedResultCollector.testStarted(CorrectedResultCollector.java:28)
    at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:204)
    at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:325)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: kg.apc.perfmon.metrics.MetricParams
    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)

1 个答案:

答案 0 :(得分:0)

现在Perfmon正在工作,我按照下面的视频提示

https://www.youtube.com/watch?v=F-dHii9qZD0

并安装了插件 - https://jmeter-plugins.org/downloads/file/JMeterPlugins-Standard-1.4.0.zip 上面的插件丢失了,安装文档中没有提到。