jiangxinsx 发表于 2010-10-26 10:04:33

使用badboy录制https脚本,转换成.jmx形式后,用JMeter打开出现以下错误


请各位大侠帮忙解决一下,如何才能让jmeter正确执行badboy录制转换后的脚本?谢谢!各位,拜托了!!!

msnshow 发表于 2010-10-26 21:11:06

按提示看看LOG中提示什么

jiangxinsx 发表于 2010-10-26 21:31:53

回复 2# msnshow
log 中出现的内容如下:
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:153)

at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:108)

at org.apache.jmeter.gui.action.Load.doAction(Load.java:89)

at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:82)

at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)

at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

而且每次出现的错误都是一样的。还请大侠帮忙看看问题所在,拜托!多谢!

naotang 发表于 2010-10-29 14:00:00

你用的jmeter是不是2.4???

naotang 发表于 2010-10-29 14:00:36

改用jakarta-jmeter-2.3.4就好了,版本问题!

jiangxinsx 发表于 2010-10-29 20:24:20

好的,谢谢! 我试试,现在用的是JMeter 2.4:)

dcwang2005 发表于 2010-11-4 23:29:33

just to let everyone know that this issue is now fixed in the Badboy 2.1.1 beta release that is now available for download

jiangsh 发表于 2010-11-16 10:07:32

果然好用了。。2.3.4版本上述问题解决。

morpar82 发表于 2010-11-18 15:56:54

或者升级你的badboy到最新的那个beta版也是可以的(保持jmeter为2.4),我刚刚就是这么解决的

jiangxinsx 发表于 2010-12-1 14:15:54

谢谢各位大侠的帮助:)
页: [1]
查看完整版本: 使用badboy录制https脚本,转换成.jmx形式后,用JMeter打开出现以下错误