You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2008/10/01 15:44:47 UTC

Re: There is problem while loading a test plan

On 30/09/2008, Sandeep G <sa...@gmail.com> wrote:
>
>  While iam loading test plan...there is an error getting in log like
>  missing jar file
>  here is my log details
>
>  2008/09/30 13:07:59 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Loading user properties from:
>  C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\user.properties
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Loading system properties from:
>  C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\system.properties
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Copyright (c) 1998-2008 The
>  Apache Software Foundation
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Version 2.3.2 r665936
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: java.version=1.5.0-beta
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM)
>  Client VM
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: os.name=Windows XP
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: os.arch=x86
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: os.version=5.1
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: file.encoding=Cp1252
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Default Locale=English (United
>  States)
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: JMeter  Locale=English (United
>  States)
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter:
>  JMeterHome=C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: user.dir
>  =C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: PWD
>  =C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: IP: 192.168.0.108 Name:
>  v-abcc2378beba4 FullName: v-abcc2378beba4
>  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Loaded icon properties from
>  org/apache/jmeter/images/icon.properties
>  2008/09/30 13:08:02 INFO  - jmeter.engine.util.CompoundVariable: Note:
>  Function class names must contain the string: '.functions.'
>  2008/09/30 13:08:02 INFO  - jmeter.engine.util.CompoundVariable: Note:
>  Function class names must not contain the string: '.gui.'
>  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  Cannot find .className property for htmlParser, using default
>  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  Parser for text/html is
>  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  Parser for application/xhtml+xml is
>  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  Parser for application/xml is
>  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  Parser for text/xml is
>  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  Parser for text/vnd.wap.wml is
>  org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
>  2008/09/30 13:08:04 INFO  - jmeter.gui.util.MenuFactory: Skipping
>  org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
>  2008/09/30 13:08:04 INFO  - jmeter.gui.util.MenuFactory: Skipping
>  org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui
>  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
>  Maximum connection retries = 10
>  2008/09/30 13:08:19 INFO  - jmeter.samplers.SampleResult: Note: Sample
>  TimeStamps are START times
>  2008/09/30 13:08:19 INFO  - jmeter.samplers.SampleResult:
>  sampleresult.default.encoding is set to ISO-8859-1
>  2008/09/30 13:08:44 INFO  - jmeter.services.FileServer: Default
>  base=C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin
>  2008/09/30 13:08:44 INFO  - jmeter.gui.action.Load: Loading file:
>  C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\cvtest1.jmx
>  2008/09/30 13:08:44 INFO  - jmeter.services.FileServer: Set new
>  base=C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin
>  2008/09/30 13:09:33 INFO  - jmeter.gui.action.Load: Loading file:
>  C:\Documents and Settings\thought green\Desktop\LoginApply.jmx
>  2008/09/30 13:09:33 INFO  - jmeter.services.FileServer: Set new
>  base=C:\Documents and Settings\thought green\Desktop
>  2008/09/30 13:09:33 WARN  - jmeter.gui.action.Load: Missing jar file
>  java.lang.NoClassDefFoundError
>         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:107)

JMeter had a problem finding a class file whilst loading the test plan.

Unfortunately the class file name is not shown but the most likely
cause is that one of the optional jars is missing - e.g. JavaMail or
JMS.

>         at org.apache.jmeter.gui.action.Load.doAction(Load.java:89)
>         at
>  org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
>         at
>  org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
>         at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
>         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
>
>  Please send me reply.
>  Appreciated for your help.
>
> --
>  View this message in context: http://www.nabble.com/There-is-problem-while-loading-a-test-plan-tp19737743p19737743.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Re: There is problem while loading a test plan

Posted by sebb <se...@gmail.com>.
On 01/10/2008, sebb <se...@gmail.com> wrote:
> On 30/09/2008, Sandeep G <sa...@gmail.com> wrote:
>  >
>  >  While iam loading test plan...there is an error getting in log like
>  >  missing jar file
>  >  here is my log details
>  >
>  >  2008/09/30 13:07:59 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Loading user properties from:
>  >  C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\user.properties
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Loading system properties from:
>  >  C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\system.properties
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Copyright (c) 1998-2008 The
>  >  Apache Software Foundation
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Version 2.3.2 r665936
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: java.version=1.5.0-beta
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM)
>  >  Client VM
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: os.name=Windows XP
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: os.arch=x86
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: os.version=5.1
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: file.encoding=Cp1252
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Default Locale=English (United
>  >  States)
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: JMeter  Locale=English (United
>  >  States)
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter:
>  >  JMeterHome=C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: user.dir
>  >  =C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: PWD
>  >  =C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: IP: 192.168.0.108 Name:
>  >  v-abcc2378beba4 FullName: v-abcc2378beba4
>  >  2008/09/30 13:07:59 INFO  - jmeter.JMeter: Loaded icon properties from
>  >  org/apache/jmeter/images/icon.properties
>  >  2008/09/30 13:08:02 INFO  - jmeter.engine.util.CompoundVariable: Note:
>  >  Function class names must contain the string: '.functions.'
>  >  2008/09/30 13:08:02 INFO  - jmeter.engine.util.CompoundVariable: Note:
>  >  Function class names must not contain the string: '.gui.'
>  >  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  >  Cannot find .className property for htmlParser, using default
>  >  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  >  Parser for text/html is
>  >  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  >  Parser for application/xhtml+xml is
>  >  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  >  Parser for application/xml is
>  >  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  >  Parser for text/xml is
>  >  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase:
>  >  Parser for text/vnd.wap.wml is
>  >  org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
>  >  2008/09/30 13:08:04 INFO  - jmeter.gui.util.MenuFactory: Skipping
>  >  org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
>  >  2008/09/30 13:08:04 INFO  - jmeter.gui.util.MenuFactory: Skipping
>  >  org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui
>  >  2008/09/30 13:08:04 INFO  - jmeter.protocol.http.sampler.HTTPSampler:
>  >  Maximum connection retries = 10
>  >  2008/09/30 13:08:19 INFO  - jmeter.samplers.SampleResult: Note: Sample
>  >  TimeStamps are START times
>  >  2008/09/30 13:08:19 INFO  - jmeter.samplers.SampleResult:
>  >  sampleresult.default.encoding is set to ISO-8859-1
>  >  2008/09/30 13:08:44 INFO  - jmeter.services.FileServer: Default
>  >  base=C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin
>  >  2008/09/30 13:08:44 INFO  - jmeter.gui.action.Load: Loading file:
>  >  C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\cvtest1.jmx
>  >  2008/09/30 13:08:44 INFO  - jmeter.services.FileServer: Set new
>  >  base=C:\JMeter\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin
>  >  2008/09/30 13:09:33 INFO  - jmeter.gui.action.Load: Loading file:
>  >  C:\Documents and Settings\thought green\Desktop\LoginApply.jmx
>  >  2008/09/30 13:09:33 INFO  - jmeter.services.FileServer: Set new
>  >  base=C:\Documents and Settings\thought green\Desktop
>  >  2008/09/30 13:09:33 WARN  - jmeter.gui.action.Load: Missing jar file
>  >  java.lang.NoClassDefFoundError
>  >         at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:107)
>
>
> JMeter had a problem finding a class file whilst loading the test plan.
>
>  Unfortunately the class file name is not shown but the most likely
>  cause is that one of the optional jars is missing - e.g. JavaMail or
>  JMS.
>

Having run some tests, it seems that optional jars are reported
differently - generally the details of missing jars are shown, along
with the position in the file.

There should be some log INFO messages from SaveService. These are
logged when the SaveService class is first loaded - before it tries to
load the file - so it looks like the problem is more serious than an
optional jar gone missing.

Does the problem occur with all scripts?
Or just this one?

Can you run JMeter and create and run a new test plan OK?

>
>  >         at org.apache.jmeter.gui.action.Load.doAction(Load.java:89)
>  >         at
>  >  org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80)
>  >         at
>  >  org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42)
>  >         at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59)
>  >         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>  >         at java.awt.EventQueue.dispatchEvent(Unknown Source)
>  >         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
>  >
>  >  Please send me reply.
>  >  Appreciated for your help.
>  >
>  > --
>  >  View this message in context: http://www.nabble.com/There-is-problem-while-loading-a-test-plan-tp19737743p19737743.html
>  >  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>

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