【问题标题】:Cannot open a .xml (working) test plan in JMeter 2.8.20130705 "Conversion Error"无法在 JMeter 2.8.20130705“转换错误”中打开 .xml(工作)测试计划
【发布时间】:2015-09-25 14:52:45
【问题描述】:

我在尝试将测试计划(.xml 文件)导入我的 JMeter 时遇到错误。这是错误:

ERROR - jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException: org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy : org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
---- Debugging information ----
message             :org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
cause-exception     :com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
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/HTTPSamplerProxy
line number         : 29

.xml 中的第 29 行:

<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Petición HTTP" enabled="true">

任何想法为什么?非常感谢!

【问题讨论】:

    标签: xml exception jmeter test-plan


    【解决方案1】:

    您使用的是哪个版本的 Java? 您的 jmeter 版本与 Java 8 不兼容。

    升级到 jmeter 2.13 并重试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-05-03
      • 2021-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多