jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: JMeter in console mode
Date Wed, 31 Mar 2010 10:45:32 GMT
You cannot define JVM args in jmeter.properties.

For info on configuring JMeter, please read:

http://jakarta.apache.org/jmeter/usermanual/get-started.html#configuring_jmeter

On 31/03/2010, Toufik HAMDANI <toufik.hamdani@gmail.com> wrote:
> Thank you for this second solution. Can you give me an example on how to
>  define Jvm args in jmeter.properties because I have never used it before.
>
>  regards
>
>
>  On Wed, Mar 31, 2010 at 12:35 PM, sebb <sebbaz@gmail.com> wrote:
>
>  > You could also have put the definition in the file
>  >
>  > system.properties
>  >
>  > This is a better solution as it works for all JMeter invocations - no
>  > need to modify any scripts.
>  >
>  > On 31/03/2010, Toufik HAMDANI <toufik.hamdani@gmail.com> wrote:
>  > > sorry for my previous mail. the tip of Tushar Joshi worked.
>  > >  I put the line into the jmeter task. The problem is solved now.
>  > >
>  > >  Many thanks for your help.
>  > >
>  > >  regards
>  > >
>  > >  On Wed, Mar 31, 2010 at 11:51 AM, Toufik HAMDANI
>  > >
>  > > <toufik.hamdani@gmail.com>wrote:
>  > >
>  > >  > Thank you for your reactivity. But I don't know where to put this line
>  > in
>  > >  > my ant script. this is how I call Jmeter inside my ant script :
>  > >  > <taskdef name="jmeter"
>  > >  >
>  >  classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/>
>  > >  >
>  > >  >         <jmeter
>  > >  >     jmeterhome="${dossierjmeter}"
>  > >  >     resultlog="${repracine}\tmp\JMeterResults.jtl">
>  > >  >             <testplans dir="${repracine}\projects\${env}\jmeter"
>  > >  > includes="*.jmx"/>
>  > >  >          </jmeter>
>  > >  >
>  > >  > I tried to pu it inside but it didn't work.
>  > >  >
>  > >  > Thanks
>  > >  >
>  > >  >
>  > >  > On Wed, Mar 31, 2010 at 11:12 AM, Tushar Joshi <
>  > tusharvjoshi@gmail.com>wrote:
>  > >  >
>  > >  >> Please try using jvmarg element in the Ant build file as follows:
>  > >  >>
>  > >  >> <jvmarg value="-Dcom.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB"/>
>  > >  >>
>  > >  >> You will have to ensure that the required classes are also in the
>  > path,
>  > >  >> and
>  > >  >> that may mean adding them to JMeter lib folder as documented on
>  > Jmeter
>  > >  >> site
>  > >  >>
>  > >  >> with regards
>  > >  >> Tushar
>  > >  >>
>  > >  >> ==============================================
>  > >  >> Tushar Joshi, Nagpur
>  > >  >> MCSD_NET C#, SCJP, RHCE, ZCE, PMP
>  > >  >> Software Architect @ Infospectrum India Private Limited, JUGNagpur
>  > Leader
>  > >  >> http://www.info-spectrum.com
>  > >  >> http://www.tusharvjoshi.com
>  > >  >> http://www.jugnagpur.com
>  > >  >>
>  > >  >>
>  > >  >> On Wed, Mar 31, 2010 at 2:26 PM, Toufik HAMDANI <
>  > toufik.hamdani@gmail.com
>  > >  >> >wrote:
>  > >  >>
>  > >  >> > Hello ! i'm a newbie in JMeter and I've created a test plan
that
>  > uses
>  > >  >> > external jars for accessing JMS queues. the creator of this
jar
>  > added an
>  > >  >> > ORB
>  > >  >> > variable to JMeter.bat to specify the class to be used for
the
>  > >  >> connection
>  > >  >> > Factory (i think) and initialized it like this :
>  > >  >> > set ORB=-Dcom.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB
>  > >  >> > then added it to the args of the jmeter.jar
>  > >  >> > when I run my test plan using JMeter GUI, everything seem to
work
>  > (green
>  > >  >> > arrows in the result tree).
>  > >  >> >
>  > >  >> > Now i wanted to automate the tests using Ant task. the problem
is
>  > that
>  > >  >> when
>  > >  >> > I ran the same test plan that worked well with the GUI, I got
this
>  > error
>  > >  >> :
>  > >  >> > [jmeter] javax.jms.JMSException: Failed to initialize the ORB
>  > >  >> >
>  > >  >> > anyone can help me please ?
>  > >  >> >
>  > >  >> > Thanks.
>  > >  >> >
>  > >  >>
>  > >  >
>  > >  >
>  > >
>  >
>
> > ---------------------------------------------------------------------
>  > 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


Mime
View raw message