Hi
<jmeter jmeterhome=".." testplan="${run.test.plan}"
resultlog="${report.dir}/${run.test.report}-${run.env}-${DSTAMP}${TSTAMP}.jtl">
<property name="jmeter.save.saveservice.output_format" value="xml"/>
<*property name="run.threads" value="50" /*>
</jmeter>
and in the thread group
${__property(run.threads,,10)} //10 is default if the property didnt exist
similar to
http://theworkaholic.blogspot.com/2009/06/testing-multiple-environments-with.html
regards
deepak
On Thu, Jan 13, 2011 at 1:09 PM, Fazal Syed Ali <[email protected]>wrote:
> All,
>
> I am running my JMeter tests using the ant task that came with JMeter.
> However, I am having a hard time figuring out how to pass number of threads
> to the ant task.
>
> I have configured the ant task in TeamCity to run the tasks automatically.
> If I can change the number of users, everything else would be very simple,
> I
> think.
>
> Thanks in advance,
>
> Fazal
>