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

aelbi1ox  于 2022-11-09  发布在  其他
关注(0)|答案(1)|浏览(198)

我是jmeter的新手(上周才开始阅读到这篇文章)。我已经得到了一些由离开公司的某个人编写的测试,但是我无法在jmeter中打开这些测试。根据.jmx文件,
这是写在jmeter 2.9,所以我安装了2.9。我得到了标准的插件,但它只是没有加载,请看到下面的错误消息,让我知道,如果你有任何想法。
谢谢你!
2015/03/02 13:35:23错误- jmeter.保存.保存服务:转换错误。转换异常: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

----调试信息----消息:原因-异常:无法解析类异常原因消息:jsonpath提取器类:列表哈希树所需类型:列表哈希树转换器类型:转换器路径:/jmeterTestPlan/hashTree/hashTree/hashTree/hashTree/hashTree[2]/hashTree[3]/jsonutils/jsonpath提取器/jsonpath提取器行号:113 -----------------留言: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/hashTree[3]/com.插件.jsonutils.路径提取器.路径提取器行号:113版:2.9R1437961型

lf5gs5x2

lf5gs5x21#

最后一个Jmeter.plugins需要Jmeter2.11才能工作。我认为你必须升级Jmeter或者卸载Jmeter.plugins。我会尝试升级Jmeter到2.12,通常它不会造成伤害。

相关问题