jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: jmeter with ant use the console properties!!!!
Date Fri, 01 Feb 2008 12:58:01 GMT
What version of JMeter are you using? Works fine for me in 2.3.1.

Where are you putting the function references?

On 01/02/2008, Fulvio Guglielmelli <fulvio_guglielmelli@yahoo.it> wrote:
> i setted the 3 properties in JMX
>   ${__P(request.threads)}
>   ${__P(request.loop)}
>   ${__P(request.repository)}
>
>   but jmeter doest replave values.
>
> when i run the ant i saw in log:
>   2008/02/01 13:01:51 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result:
> 2008/02/01 13:01:51 DEBUG - jmeter.engine.util.ValueReplacer: About to replace in property
of type: class org.apache.jmeter.testelement.property.StringProperty: ${__P(request.threads,2)}
> 2008/02/01 13:01:51 DEBUG - jmeter.testelement.property.AbstractProperty: Not running
version, return raw function string
> 2008/02/01 13:01:51 DEBUG - jmeter.engine.util.ValueReplacer: Replacement result: ${__P(request.threads,2)}
> 2008/02/01 13:01:51 DEBUG - jmeter.engine.util.ValueReplacer: About to replace in property
of type: class org.apache.jmeter.testelement.property.BooleanProperty: false
> 2008/02/01 13:01:51 DEBUG - jmeter.engine.util.ValueReplacer: Won't replace false
>
>
> sebb <sebbaz@gmail.com> ha scritto:
>   On 01/02/2008, Fulvio Guglielmelli wrote:
> > Hi,
> > I'm tring to use ant to run my test
> >
> > I usually run my test from jmeter console,
> > this is the configuration
> >
> > Thread Group (n.threads=1, loop count = 100)
> > Loop Controller
> > Java Request (ThreadNum=${__threadNum}, repository=1)
> >
> > Now I need to run it with ant,
> > I set the properties in build.xml like below
> >
> > when jmeter start continue to use the value setted with console and not the value
setted in ant.
> >
> > > resultlog="${dist}/JMeterResults.jtl">
> >
> >
> >
>
>
> >
>
>
> >
>
>
> >
> >
> > Where is the mistake
>
> You need to ensure that the Thead Group uses the request.threads
> property, i.e. by using
>
> ${__P(request.threads)}
>
> Etc
> > thanks
> > fulvio
> >
> >
> > ---------------------------------
> >
> > ---------------------------------
> > L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------
>
> ---------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

---------------------------------------------------------------------
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