You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jeff Ohrstrom <jo...@hotmail.com> on 2014/07/01 06:34:10 UTC

Re: "Empty test plan" when trying to merge

If you do a search for TestElement.test_class you'll find that the file
has only standard JMeter test elements. I found that it's so old it's
incompatible with how JMeter now reads .jmx files (they used to be
written in 'Avalon Format'). 
http://jmeter.apache.org/changes_history.html

Go here and download version 2.3.4 and open the jmx (I did so, and it
opens) then save it, and you can then open with 2.11.  
http://archive.apache.org/dist/jakarta/jmeter/binaries/


On Mon, 2014-06-30 at 17:25 +0400, Александр Илюшкин wrote:
> That's exactly what I tried to tell thank you
> 
> С уважением, Илюшкин Александр.
> 30 июня 2014 г. 11:09 пользователь "Ryabtsev Vladimir" <v....@pflb.ru>
> написал:
> 
> > Your test plan may contain some extra elements: elements from JMeter
> > plug-ins or some custom elements. You should check this and copy additional
> > libs into lib folder of JMeter.
> >
> > -----
> > VR
> >
> >
> > -----Original Message-----
> > From: HigoFelipe [mailto:higofelipe@gmail.com]
> > Sent: Saturday, June 28, 2014 2:23 AM
> > To: jmeter-user@jakarta.apache.org
> > Subject: "Empty test plan" when trying to merge
> >
> > Hi,
> >
> > I'm having a problem when I try to merge a .jmx file into my test plan,
> > via JMeter interface: it appears the following error message: "Empty test
> > plan - see log file". The log file is the following:
> >
> >
> >
> >
> >
> > 2014/06/27 19:19:16 INFO  - jmeter.gui.action.Load: Merging file:
> > /home/higo/Downloads/apache-jmeter-2.11/shibb.jmx
> > 2014/06/27 19:19:16 ERROR - jmeter.save.SaveService: Conversion error
> > com.thoughtworks.xstream.converters.ConversionException: null : null
> > ---- Debugging information ----
> > cause-exception     : java.lang.NullPointerException
> > cause-message       : null
> > class               : org.apache.jmeter.testelement.WorkBench
> > required-type       : org.apache.jmeter.testelement.WorkBench
> > converter-type      :
> > org.apache.jmeter.save.converters.TestElementConverter
> > path                :
> > /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> > line number         : 3
> > class[1]            : org.apache.jorphan.collections.ListedHashTree
> > converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> > ------------------------------- : null : null
> > ---- Debugging information ----
> > cause-exception     : java.lang.NullPointerException
> > cause-message       : null
> > class               : org.apache.jmeter.testelement.WorkBench
> > required-type       : org.apache.jmeter.testelement.WorkBench
> > converter-type      :
> > org.apache.jmeter.save.converters.TestElementConverter
> > path                :
> > /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> > line number         : 3
> > class[1]            : org.apache.jorphan.collections.ListedHashTree
> > converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> > -------------------------------
> > message             : null : null
> > ---- Debugging information ----
> > cause-exception     : java.lang.NullPointerException
> > cause-message       : null
> > class               : org.apache.jmeter.testelement.WorkBench
> > required-type       : org.apache.jmeter.testelement.WorkBench
> > converter-type      :
> > org.apache.jmeter.save.converters.TestElementConverter
> > path                :
> > /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> > line number         : 3
> > class[1]            : org.apache.jorphan.collections.ListedHashTree
> > converter-type[1]   : org.apache.jmeter.save.converters.HashTreeConverter
> > -------------------------------
> > cause-exception     :
> > com.thoughtworks.xstream.converters.ConversionException
> > cause-message       : null : null
> > first-jmeter-class  :
> >
> > org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
> > class               : org.apache.jmeter.save.ScriptWrapper
> > required-type       : org.apache.jmeter.testelement.WorkBench
> > converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
> > path                :
> > /jmeterTestPlan/hashTree/org.apache.jmeter.testelement.WorkBench
> > line number         : 3
> > version             : 2.11 r1554548
> > -------------------------------
> > 2014/06/27 19:19:16 WARN  - jmeter.gui.action.Load: Unexpected error
> > org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan -
> > see log file
> >         at
> > org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
> >         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
> >         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
> >         at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
> >         at
> >
> > org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
> >         at
> > org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
> >         at
> > org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
> >         at
> > java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
> >         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
> >         at java.awt.EventQueue.access$200(EventQueue.java:103)
> >         at java.awt.EventQueue$3.run(EventQueue.java:694)
> >         at java.awt.EventQueue$3.run(EventQueue.java:692)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at
> >
> > java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> >         at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
> >         at
> >
> > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
> >         at
> >
> > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
> >         at
> >
> > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
> >         at
> > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
> >         at
> > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> >         at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
> >
> >
> >
> >
> > How can this be fixed?
> >
> > Cheers,
> >
> > H.
> >
> >
> >
> > --
> > View this message in context:
> > http://jmeter.512774.n5.nabble.com/Empty-test-plan-when-trying-to-merge-tp5720429.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org