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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------
>
> ---------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to