That I am not sure of because I never have used this scheduler functionality. I make my tests run a fixed # of iterations, or based on other criteria determined during the test itself.
-----Original Message----- From: Mordechai [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 11:41 AM To: [email protected] Subject: RE: Howto: set "duration" or schedule by command line ? Steve, Thanks for the quick reply, I had tried setting it through the GUI, and found that Jmeter hung, perhaps I was settting something wrong. If I want test X to run for 4 hours, is it necessary to check the [x] loop forever ? or by passing the jduration = 14400 is it implied that the test will continue to run (loop) until 14400 seconds of execution has occurred? Thanks. Mordechai Steve Kapinos wrote: > > You could define the value in the test plan using a property.. and then > set the property via the command line using -J > > The property could also be defined in a properties fil > > If the property is 'duration' in the test plan use > > ${__P(duration,300)} > > 300 is a default value you would use if the property was not defined > > At the command like use > > Jmeter -Jduration=500 > > -----Original Message----- > From: Mordechai [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 03, 2008 10:04 AM > To: [email protected] > Subject: Howto: set "duration" or schedule by command line ? > > > Hi there, > > I wasn't able to find this in the docs though I might have missed it. Is > there a way to specify via command line the duration for the test? I've > had > trouble getting the scheduler to work accurately from the GUI in regards > to > duration. > > ./jmeter -n -t someTestScript.jmx -? what flag to specify duration? > > I thought I might be able to set this in the properties file and then > pass > the properties file via command line? > > Feedback appreciated. > Mordechai > -- > View this message in context: > http://www.nabble.com/Howto%3A-set-%22duration%22-or-schedule-by-command > -line---tp20809142p20809142.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] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Howto%3A-set-%22duration%22-or-schedule-by-command -line---tp20809142p20810507.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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

