我已将JMeter从2.11升级到2.13并已下载插件(标准版,附加内容,附带lib集的附加内容),并已移至\ lib \ ext“目录。
在尝试打开测试计划时,我在日志中遇到错误:
2016/03/16 07:10:08错误 - jmeter.gui.GuiPackage:无法获取kg.apc.jmeter.vizualizers.CorrectedResultCollector@3d92590b的GUI。java.lang.ClassNotFoundException:kg.apc.jmeter.vizualizers .BytesThroughputOverTimeGui at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) 在org.apache.jmeter.gui.GuiPackage.getGui(GuiPackage.java:212) at org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java:153) 在org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:129) 在org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:121) 在org.apache.jmeter.gui.GuiPackage.addSubTree(GuiPackage.java:495) 在org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:193) 在org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:131) 在org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:102) 在org.apache.jmeter.gui.action.Load.doAction(Load.java:89) 在org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81) 在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:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access $ 500(EventQueue.java:97) at java.awt.EventQueue $ 3.run(EventQueue.java:709) at java.awt.EventQueue $ 3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) 在java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2016/03/16 07:10:08 WARN - jmeter.gui.action.Load:意外错误java.lang.NullPointerException 在org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java:154) 在org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:129) 在org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:121) 在org.apache.jmeter.gui.GuiPackage.addSubTree(GuiPackage.java:495) 在org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:193) 在org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:131) 在org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:102) 在org.apache.jmeter.gui.action.Load.doAction(Load.java:89) 在org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81) 在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:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access $ 500(EventQueue.java:97) at java.awt.EventQueue $ 3.run(EventQueue.java:709) at java.awt.EventQueue $ 3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) 在java.awt.EventDispatchThread.run(EventDispatchThread.java:82)