求助: JMeter打开Badboy生成的jmx文件出错
各位高手牛人冒个泡.小弟刚开始用JMeter,菜鸟一枚.用Badboy录制脚本,Export to JMeter.
用JMeter打开刚才录制的文件,弹出错误框,错误如下
查看log文件,错误显示如下
2010/08/24 20:32:07 INFO- jmeter.util.JMeterUtils: Setting Locale to zh_CN
2010/08/24 20:32:07 INFO- jmeter.JMeter: Loading user properties from: E:\Performance\jakarta-jmeter-2.4\bin\user.properties
2010/08/24 20:32:07 INFO- jmeter.JMeter: Loading system properties from: E:\Performance\jakarta-jmeter-2.4\bin\system.properties
2010/08/24 20:32:07 INFO- jmeter.JMeter: Copyright (c) 1998-2010 The Apache Software Foundation
2010/08/24 20:32:07 INFO- jmeter.JMeter: Version 2.4 r961953
2010/08/24 20:32:07 INFO- jmeter.JMeter: java.version=1.7.0-ea
2010/08/24 20:32:07 INFO- jmeter.JMeter: java.vm.name=Java HotSpot(TM) Client VM
2010/08/24 20:32:07 INFO- jmeter.JMeter: os.name=Windows XP
2010/08/24 20:32:07 INFO- jmeter.JMeter: os.arch=x86
2010/08/24 20:32:07 INFO- jmeter.JMeter: os.version=5.1
2010/08/24 20:32:07 INFO- jmeter.JMeter: file.encoding=GBK
2010/08/24 20:32:07 INFO- jmeter.JMeter: Default Locale=中文 (中国)
2010/08/24 20:32:07 INFO- jmeter.JMeter: JMeterLocale=中文 (中国)
2010/08/24 20:32:07 INFO- jmeter.JMeter: JMeterHome=E:\Performance\jakarta-jmeter-2.4
2010/08/24 20:32:07 INFO- jmeter.JMeter: user.dir=E:\Performance\jakarta-jmeter-2.4\bin
2010/08/24 20:32:07 INFO- jmeter.JMeter: PWD =E:\Performance\jakarta-jmeter-2.4\bin
2010/08/24 20:32:07 INFO- jmeter.JMeter: IP: 192.168.1.100 Name: xiwei FullName: xiwei
2010/08/24 20:32:07 INFO- jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2010/08/24 20:32:08 INFO- jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2010/08/24 20:32:08 INFO- jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2010/08/24 20:32:08 INFO- jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22
2010/08/24 20:32:08 INFO- jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default
2010/08/24 20:32:08 INFO- jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
2010/08/24 20:32:08 INFO- jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is
2010/08/24 20:32:08 INFO- jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is
2010/08/24 20:32:08 INFO- jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
2010/08/24 20:32:08 INFO- jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2010/08/24 20:32:09 INFO- jmeter.protocol.http.sampler.HTTPSampler: Maximum connection retries = 10
2010/08/24 20:32:09 INFO- jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times
2010/08/24 20:32:09 INFO- jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2010/08/24 20:32:20 INFO- jmeter.services.FileServer: Default base=E:\Performance\jakarta-jmeter-2.4\bin
2010/08/24 20:32:20 INFO- jmeter.gui.action.Load: Loading file: E:\Performance\JMeterProject\baidu_login.jmx
2010/08/24 20:32:20 INFO- jmeter.services.FileServer: Set new base=E:\Performance\JMeterProject
2010/08/24 20:32:20 INFO- jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2010/08/24 20:32:20 INFO- jmeter.save.SaveService: Using SaveService properties file encoding UTF-8
2010/08/24 20:32:20 INFO- jmeter.save.SaveService: Using SaveService properties file version 959116
2010/08/24 20:32:20 INFO- jmeter.save.SaveService: Using SaveService properties version 2.1
2010/08/24 20:32:20 INFO- jmeter.save.SaveService: All converter versions present and correct
2010/08/24 20:32:20 WARN- jmeter.save.SaveService: Problem loading XML: node : node
2010/08/24 20:32:20 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: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(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2010/08/24 20:32:43 INFO- jmeter.gui.action.Load: Loading file: E:\Performance\JMeterProject\baidu_login.jmx
2010/08/24 20:32:43 INFO- jmeter.services.FileServer: Set new base=E:\Performance\JMeterProject
2010/08/24 20:32:43 WARN- jmeter.save.SaveService: Problem loading XML: node : node
2010/08/24 20:32:43 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: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(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
用Badboy录制并导出的jmx文件如下
各位高手牛人帮忙分析下问题出在哪里,我的环境配置有问题还是其他,整了一个晚上没闹明白,多谢各位..Thx..
[ 本帖最后由 oneinhslcn 于 2010-8-25 13:49 编辑 ] 已解决.. 谢谢楼主我也是遇到同样的问题我回头试下等下告诉你结果 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
页:
[1]