建我有一個腳本,工作(打開並運行)在2.8版本的JMeter的完美的罰款。我剛剛下載了Jmeter 2.9,我無法打開這個腳本。JMeter的2.9將不會打開我的腳本使用JMeter 2.8
我得到的日誌文件中出現以下錯誤,我似乎不明白的問題是DummySampler這似乎是錯誤的按對數源是什麼。 我檢查了2.9版本的更改日誌頁面http://jmeter.apache.org/changes.html並沒有找到任何有關。
我是新來的JMeter和Java,感謝所有幫助!
2013/08/05 17:12:29 INFO - jmeter.save.SaveService: All converter versions present and correct
2013/08/05 17:12:30 ERROR - jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException: kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler
---- Debugging information ----
message : kg.apc.jmeter.samplers.DummySampler
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.samplers.DummySampler
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[7]/hashTree[6]/kg.apc.jmeter.samplers.DummySampler
line number : 416
------------------------------- : kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler
---- Debugging information ----
message : kg.apc.jmeter.samplers.DummySampler
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.samplers.DummySampler
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[7]/hashTree[6]/kg.apc.jmeter.samplers.DummySampler
line number : 416
-------------------------------
message : kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler
---- Debugging information ----
message : kg.apc.jmeter.samplers.DummySampler
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.samplers.DummySampler
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[7]/hashTree[6]/kg.apc.jmeter.samplers.DummySampler
line number : 416
-------------------------------
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message : kg.apc.jmeter.samplers.DummySampler : kg.apc.jmeter.samplers.DummySampler
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[7]/hashTree[6]/kg.apc.jmeter.samplers.DummySampler
line number : 416
version : 2.9 r1437961
-------------------------------
2013/08/05 17:12:30 WARN - jmeter.gui.action.Load: Unexpected error java.lang.Exception: Error in TestPlan - see log file
at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:158)
at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:113)
at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
謝謝,幫助。我以爲我複製了2.8版本的所有罐子。我的錯誤我錯過了幾個在lib下的ext文件夾。它現在有效。 – Adi
對我來說就像一個魅力,thannks! –