0

テスト計画 (.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">

理由はありますか?どうもありがとう!

4

1 に答える 1

1

どのバージョンの Java を使用していますか? お使いのバージョンの jmeter は Java 8 と互換性がありません。

jmeter 2.13 にアップグレードして、もう一度お試しください。

于 2015-09-26T06:45:07.953 に答える