2015-03-02 92 views
1

我是jmeter的新手(正如剛剛開始閱讀關於它的上週)。我已經給了一些由某人離開公司的測試,但我無法獲得測試以jmeter打開。按照.jmx文件,Jmeter:測試計劃中的錯誤:轉換錯誤

這是寫在JMeter的2.9,所以我安裝了2.9。我得到了標準插件,但它只是不加載,請看下面的錯誤信息,並讓我知道你是否有任何想法。

謝謝!

2015/03/02 13:35:23錯誤 - jmeter.save.SaveService:轉換錯誤com.thoughtworks.xstream.converters.ConversionException:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com。 atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor

---- Debugging information ---- 
message    : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 
cause-exception  : com.thoughtworks.xstream.mapper.CannotResolveClassException 
cause-message  : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 
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/hashTree[2]/hashTree[3]/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 
line number   : 113 
------------------------------- : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 

----調試信息---- 消息:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 原因的異常:COM .thoughtworks.xstream.mapper.CannotResolveClassException cause-message:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 類:org.apache.jorphan.collections.ListedHashTree 需要型:org.apache.jorphan.collections.ListedHashTree 轉換器型:org.apache.jmeter.save.converters.HashTreeConverter 路徑:/ jmeterTestPlan/hashTree/hashTree/hashTree/hashTree [2]/hashTree [3] /com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 行號:113 ----------------- -------------- 消息:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor:com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor

---- Debugging information ---- 
message    : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 
cause-exception  : com.thoughtworks.xstream.mapper.CannotResolveClassException 
cause-message  : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 
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/hashTree[2]/hashTree[3]/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 
line number   : 113 
------------------------------- 
cause-exception  : com.thoughtworks.xstream.converters.ConversionException 
cause-message  : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor : com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65) 
class    : org.apache.jmeter.save.ScriptWrapper 
required-type  : org.apache.jorphan.collections.ListedHashTree 
converter-type  : org.apache.jmeter.save.ScriptWrapperConverter 
path    : /jmeterTestPlan 

/hashTree/hashTree/hashTree/hashTree[2]/hashTree[3]/com.atlantbh.jmeter.plugins.jsonutils.jsonpathextractor.JSONPathExtractor 行號:113 版本:2.9 r1437961

回答

0

末Jmeter.plugins要求Jmeter 2.11工作。 我認爲你必須升級Jmeter或卸載Jmeter.plugins。 我會嘗試將Jmeter升級到2.12,通常它不會造成任何危害。