jmeter linux压测报错:Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:...

jmeter linux压测报错:Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:...

Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/home/user/jmeter/apache-jmeter-5.1.1/test/list.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:67)
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/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 89
version : 5.1.1 r1855137

 

 

1、linux环境jmeter与win环境编写脚本的jmeter版本不一致,版本改为一致

2、脚本中存在中文,去除中文

3、脚本中存在类似于jp@gc - Active Threads Over Time 监听器,去除监听器(查看结果树和聚合报告可以保留)

 

 

还没解决 继续

posted on 2019-09-27 17:00  牛气冲天  阅读(4325)  评论(3编辑  收藏  举报