jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: How to pass # of threads/users to JMeter ant script
Date Thu, 13 Jan 2011 21:35:27 GMT
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 <syedfazalali@gmail.com>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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message