Jmeter:测试计划中的错误:转换错误
我是jmeter的新手(正如刚刚开始阅读关于它的上周)。我已经给了一些由某人离开公司的测试,但我无法获得测试以jmeter打开。按照.jmx文件,Jmeter:测试计划中的错误:转换错误
这是写在JMeter的2.9,所以我安装了2.9。我得到了标准插件,但它只是不加载,请看下面的错误信息,并让我知道你是否有任何想法。
谢谢!
2015/03/02 13:35:23错误 - jmeter.save.SaveService:转换错误com.thoughtworks.xstream.converters.ConversionException:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com。 atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
---- Debugging information ----
message : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
class : org.apache.jorphan.collections.ListedHashTree
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[2]/hashTree[3]/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
line number : 113
------------------------------- : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
----调试信息---- 消息:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 原因的异常:COM .thoughtworks.xstream.mapper.CannotResolveClassException cause-message:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 类:org.apache.jorphan.collections.ListedHashTree 需要型:org.apache.jorphan.collections.ListedHashTree 转换器型:org.apache.jmeter.save.converters.HashTreeConverter 路径:/ jmeterTestPlan/hashTree/hashTree/hashTree/hashTree [2]/hashTree [3] /com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 行号:113 ----------------- -------------- 消息:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
---- Debugging information ----
message : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
class : org.apache.jorphan.collections.ListedHashTree
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/hashTree[2]/hashTree[3]/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
line number : 113
-------------------------------
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan
/hashTree/hashTree/hashTree/hashTree[2]/hashTree[3]/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 行号:113 版本:2.9 r1437961
末Jmeter.plugins要求Jmeter 2.11工作。 我认为你必须升级Jmeter或卸载Jmeter.plugins。 我会尝试将Jmeter升级到2.12,通常它不会造成任何危害。