2015-09-25 44 views
0

我在尝试将测试计划(.xml文件)导入到JMeter时遇到错误。这里的错误:无法在JMeter 2.8.20130705中打开.xml(working)测试计划“转换错误”

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 

第29行中的.xml:

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

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

回答

1

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

升级到jmeter 2.13并重试。

+0

谢谢!工作! – marianogg9

相关问题