Jmeter-Unable to Open Example JMX files

2,884 views
Skip to first unread message

Mahesh Kumar Somaraju

unread,
Oct 13, 2011, 12:02:50 AM10/13/11
to jmeter-...@googlegroups.com
Hi,

I have downloaded few sample Jmeter scripts(RawRequestExample.jmx) from below location and tried to open from Jmeter

However Jmeter couldn't open the script and  has thrown below exception in logs.
2011/10/13 11:57:11 INFO  - jmeter.gui.action.Load: Loading file: D:\Mahesh\Projects\Jmeter\Jmeter_Samples\RawRequestExample.jmx 
2011/10/13 11:57:11 INFO  - jmeter.services.FileServer: Set new base=D:\Mahesh\Projects\Jmeter\Jmeter_Samples 
2011/10/13 11:57:11 INFO  - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 
2011/10/13 11:57:11 INFO  - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8 
2011/10/13 11:57:11 INFO  - jmeter.save.SaveService: Using SaveService properties file version 959116 
2011/10/13 11:57:11 INFO  - jmeter.save.SaveService: Using SaveService properties version 2.1 
2011/10/13 11:57:11 INFO  - jmeter.save.SaveService: All converter versions present and correct 
2011/10/13 11:57:11 WARN  - jmeter.save.SaveService: Problem loading XML: html : html 
2011/10/13 11:57:11 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.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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)


I am using Jmeter2.4 and JMeterPlugins-0.4.1.zip.

Please suggest me the steps to fix the above issue.


Thanks,
Mahesh

Stéphane Hoblingre

unread,
Oct 13, 2011, 1:08:25 AM10/13/11
to jmeter-...@googlegroups.com
First, get latest version of the plugin...

Mahesh Kumar Somaraju

unread,
Oct 13, 2011, 2:37:47 AM10/13/11
to jmeter-...@googlegroups.com
Hi,

I have downloaded JMeterPlugins-0.4.2.zip and copied the latest JAR into Jmeter directory. But still I am not able to open the Jmeter script.

Could someone open the example JMX files available in below location?


Thanks,
Mahesh


2011/10/13 Stéphane Hoblingre <stephane....@gmail.com>

Stéphane Hoblingre

unread,
Oct 13, 2011, 2:42:47 AM10/13/11
to jmeter-...@googlegroups.com
yes...
Reinstall a clean JMeter you should have something corrupted, and verify you run it with jdk 1.6+

Mahesh Kumar Somaraju

unread,
Oct 13, 2011, 3:00:45 AM10/13/11
to jmeter-...@googlegroups.com
Hi,

I have reinstalled the Jmeter and tried again but still unable to open the Jmeter scripts. However I am able to open the Jmeter scripts developed by me.
Also I have checked the JDK version using by Jmeter and it is 1.6.0_26.

I have attached the Jmeter script I am failing to open for your reference.
RawRequestExample.jmx

Stéphane Hoblingre

unread,
Oct 13, 2011, 3:22:04 AM10/13/11
to jmeter-...@googlegroups.com
look at the file, it is not a jmx but a html page...
Reply all
Reply to author
Forward
0 new messages