首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Jmeter:测试计划中的错误:转换错误

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

Stack Overflow用户
提问于 2015-03-03 03:14:41
回答 1查看 2.7K关注 0票数 1

我对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

代码语言:javascript
复制
---- 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

代码语言:javascript
复制
---- 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

EN

回答 1

Stack Overflow用户

发布于 2015-03-03 20:05:58

上一个Jmeter.plugins需要Jmeter 2.11才能工作。我认为你必须升级Jmeter或者卸载Jmeter.plugins。我会试着把Jmeter升级到2.12,通常不会有什么坏处。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28817691

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档