Jmeter:测试计划中的错误:转换错误

时间:2015-03-02 19:14:41

标签: json jmeter

我是jmeter的新手(就像上周开始阅读它一样。)我已经接受了一些人离开了公司但我无法接受测试的测试。用jmeter打开。根据.jmx文件,

用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     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     路径:/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

1 个答案:

答案 0 :(得分:0)

Last Jmeter.plugins需要Jmeter 2.11才能工作。 我认为你必须升级Jmeter OR才能卸载Jmeter.plugins。 我会尝试将Jmeter升级到2.12,通常它不会造成伤害。

相关问题