Works fine for me using the build.xml file in extras/

I suggest you try running the test in non-GUI mode e.g.:

jmeter -n -Jrequest.threads=5 -t test.jmx -l test.jtl

and see if that works.

On 01/02/2008, Fulvio Guglielmelli <[EMAIL PROTECTED]> wrote:
> I'm using version 2.3
>
>   Where are you putting the function references?
> TEST.JMX
>    Thread Group (n.threads=${__P(request.threads,2)}, loop count = 
> ${__P(request.loop,2)} )
> > > Java Request (ThreadNum=${__threadNum}, repository=${__P(repository,0))
>
>   thanks
>   fulvio
>
> sebb <[EMAIL PROTECTED]> ha scritto:
>   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 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 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]
>
>
>
>
> ---------------------------------
>
> ---------------------------------
> 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