尝试将测试计划(.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">
任何想法为什么?非常感谢!