On 01/02/2008, Fulvio Guglielmelli <[EMAIL PROTECTED]> 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.
>
> <jmeter jmeterhome="c:/jmeter"
> resultlog="${dist}/JMeterResults.jtl">
>
> <testplans dir="${src}" includes="*.jmx"/>
> <property name="request.threads" value="1"/>
> <property name="request.loop" value="2"/>
> <property name="repository" value="2"/>
> </jmeter>
>
> 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]