第一次用 结果遇到这个问题用Banboy录制的脚本
用jmeter自己录的脚本 也运行不起来
我真是太菜了
这么简单的东西都用不起
谁能告诉下哪里有问题呢?

解决方案 »

  1.   

    2010/08/26 12:13:33 INFO  - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 
    2010/08/26 12:13:33 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.' 
    2010/08/26 12:13:33 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 
    2010/08/26 12:13:34 INFO  - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 
    2010/08/26 12:13:34 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default 
    2010/08/26 12:13:34 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is  
    2010/08/26 12:13:34 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is  
    2010/08/26 12:13:34 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is  
    2010/08/26 12:13:34 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is  
    2010/08/26 12:13:34 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 
    2010/08/26 12:13:34 INFO  - jmeter.protocol.http.sampler.HTTPSampler: Maximum connection retries = 10 
    2010/08/26 12:13:35 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 
    2010/08/26 12:13:35 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 
    2010/08/26 12:14:06 INFO  - jmeter.services.FileServer: Default base=C:\Users\K\Desktop\jakarta-jmeter-2.4\bin 
    2010/08/26 12:14:06 INFO  - jmeter.gui.action.Load: Loading file: C:\Users\K\Desktop\jakarta-jmeter-2.4\bin\script\Script.jmx 
    2010/08/26 12:14:06 INFO  - jmeter.services.FileServer: Set new base=C:\Users\K\Desktop\jakarta-jmeter-2.4\bin\script 
    2010/08/26 12:14:06 INFO  - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 
    2010/08/26 12:14:06 INFO  - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8 
    2010/08/26 12:14:06 INFO  - jmeter.save.SaveService: Using SaveService properties file version 959116 
    2010/08/26 12:14:06 INFO  - jmeter.save.SaveService: Using SaveService properties version 2.1 
    2010/08/26 12:14:06 INFO  - jmeter.save.SaveService: All converter versions present and correct 
    2010/08/26 12:14:06 WARN  - jmeter.save.SaveService: Problem loading XML: node : node 
    2010/08/26 12:14:06 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(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)
      

  2.   

    降低jmeter版本,提高badboy版本有时可解决此问题
      

  3.   

    badboy提高到2.1了 还是这个问题,而2.1录制的脚本在jmeter2.3.4上也报同样的错误
      

  4.   

    你应该是保存错误了,用badboy 录制了脚本应该export to jmeter 而不是保存为其他的格式文件