1、异常情况
2、解决办法
2.1是因为打开他人的jmx文件,jmx脚本包含扩展的jar包,但本地的jmeter没有对应的jar包导致。
2.2只需要添加jpgc-graphs-basic-2.0.zip,解压开有三个文件,其中将lib里的jmeter-plugins-cmn-jmeter-0.3.jar拷贝到jmeter的lib目录下, 将lib/ext里的jmeter-plugins-graphs-basic-2.0.jar 和 jmeter-plugins-manager-0.10.jar 包拷贝到jmeter下面lib/ext目录下
2.3重启jmeter,就能够在监听器中添加对应的插件
------------------
Problem loading XML from:'C:\Users\d\Desktop\HTTP请求.jmx'.
Cause:
CannotResolveClassException: kg.apc.jmeter.vizualizers.CorrectedResultCollector
Detail:com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message :
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:66)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jmeter.save.ScriptWrapper
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 149
version : 5.3
------------------