>We have to run multiple jmeter test plans (JMX files) through ANT Yes if you use JMeter properties http://theworkaholic.blogspot.com/2009/06/testing-multiple-environments-with.html >(if we have multiple threads can we pass value to each thread individually) Use variables , typically using CSV data set config. You cannot pass data to a thread, but you can vary what each thread uses. >about number of users and Threads of iterations for which it should run. Again use jmeter properties
> Second Can we do conditional execution of targets in ant http://ant-contrib.sourceforge.net/tasks/tasks/if.html >Like if we want to check the time and run a target only when that time is reached Im not sure you'd want to do this in ANT. You'd probably Cron/ windows task schedule the call (which is more flexible with scheduling) Read the Jmeter manual to find out more about jmeter properties and variables regards deepak On Sun, Nov 8, 2009 at 4:01 PM, Harry_ <[email protected]> wrote: > > We need to pass arguments to JMX while running it through ant. > > We have to run multiple jmeter test plans (JMX files) through ANT, but we > need to pass values to its Thread Group (if we have multiple threads can we > pass value to each thread individually) about number of users and Threads > of > iterations for which it should run. > > Is there any way to achieve the above. If someone has previously sent such > arguments please share the build.xml file for the same. > > Second Can we do conditional execution of targets in ant. Like if we want > to > check the time and run a target only when that time is reached. (This is > required because we want to run some percentage of threads in the morning, > then increase or decrease at various time intervals according to site > actual > usage). > > -- > View this message in context: > http://old.nabble.com/How-to-pass-arguments-to-a-jMeter-jmx-through-ant-and-do-conditional-execution-of-a-target...-tp26259404p26259404.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

