我对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原因-异常: com.thoughtworks.xstream.mapper.CannotResolveClassException原因-消息: 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/hashTree2/hashTree3/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/hashTree2/hashTree3/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor线号: 113版本: 2.9 r1437961
发布于 2015-03-03 20:05:58
上一个Jmeter.plugins需要Jmeter 2.11才能工作。我认为你必须升级Jmeter或者卸载Jmeter.plugins。我会试着把Jmeter升级到2.12,通常不会有什么坏处。
https://stackoverflow.com/questions/28817691
复制相似问题