无法在 JMeter 2.8.20130705 "Conversion Error" 中打开 .xml(工作)测试计划

Cannot open a .xml (working) test plan in JMeter 2.8.20130705 "Conversion Error"

我在尝试将测试计划(.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">

知道为什么吗?非常感谢!

您使用的 Java 是哪个版本? 您的 jmeter 版本与 Java 8.

不兼容

升级到 jmeter 2.13 并重试。