Error in jmeter opening the JMX file generated BY Badboy: Error in testplan
Favorites
I just recorded a simple operation using Badboy. I used Badboy's "export to jmeter" to generate a JMX file and opened it using jmeter, but an error was reported:
Log display:
View plaincopy to clipboardprint?
- 2010/09/19 10:40:37 Info-jmeter. Gui. Action. Load: loading file: e: \ sofeware testing \ test tools \ jmeter + Badboy \ examples \ script. JMX
- 2010/09/19 10:40:37 Info-jmeter. Services. fileserver: Set new base = E: \ sofeware testing \ test tools \ jmeter + Badboy \ examples
- 2010/09/19 10:40:37 warn-jmeter. Save. saveservice: Problem loading XML: node: Node
- 2010/09/19 10:40:37 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. Action maction (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/09/19 10:40:37 Info-jmeter. gui. action. load: loading file: e: \ sofeware testing \ test tools \ jmeter + Badboy \ examples \ script. JMX <br/> 2010/09/19 10:40:37 Info-jmeter. services. fileserver: Set new base = E: \ sofeware testing \ test tools \ jmeter + Badboy \ examples <br/> 2010/09/19 10:40:37 warn-jmeter. save. saveservice: Problem loading XML: node <br/> 2010/09/19 10:40:37 warn-jmeter. gui. action. load: Unexpected error Java. lang. exception: Error in testplan-see Log File <br/> at Org. apache. jmeter. gui. action. load. insertloadedtree (load. java: 153) <br/> at Org. apache. jmeter. gui. action. load. loadprojectfile (load. java: 108) <br/> at Org. apache. jmeter. gui. action. load. doaction (load. java: 89) <br/> at Org. apache. jmeter. gui. action. actionrouter. into maction (actionrouter. java: 82) <br/> at Org. apache. jmeter. gui. action. actionrouter. access $000 (actionrouter. java: 42) <br/> at Org. apache. jmeter. gui. action. actionrouter $ 1.run( actionrouter. java: 61) <br/> at java. AWT. event. invocationevent. dispatch (unknown source) <br/> at java. AWT. eventqueue. dispatchevent (unknown source) <br/> at java. AWT. eventdispatchthread. pumponeeventforfilters (unknown source) <br/> at java. AWT. eventdispatchthread. pumpeventsforfilter (unknown source) <br/> at java. AWT. eventdispatchthread. pumpeventsforhierarchy (unknown source) <br/> at java. AWT. eventdispatchthread. pumpevents (unknown source) <br/> at java. AWT. eventdispatchthread. pumpevents (unknown source) <br/> at java. AWT. eventdispatchthread. run (unknown source)
Reason: Badboy and jmeter versions are not supported
Solution:
1. Reduce jmeter version
2. obtain the latest Badboy version. Http://www.badboy.com.au/download/
My combination is: Badboy: 2.1.1 Beta 1
Jmeter: 2.4