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]