Hi,

Quasar wrote, on 22.04.2008 12:24:
Quick question: If I want to "pass" the number of VUs and the rampup time in a nongui mode, how can I do that? I'd like to use the same JMX file and pass only these 2 parameters.

Say you want to use properties names NUMTHREADS and RAMPUP. You can access the value within the Test Plan using the __P function as follows (the additional parameter specifies a default value which may be omitted):

${__P(NUMTHREADS,15)}
${__P(RAMPUP,30)}

When calling JMeter in non-gui mode, pass the appropriate values via the command line using the -J parameter:

$ jmeter -n -t MYTESTPLAN.JMX -JNUMTREADS=44 -JRAMPUP=50

Best regards,

André


Thx :)

Quasar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Dipl.-Inform. André van Hoorn
Graduate School "TrustSoft" (http://trustsoft.org)
Software Engineering Group (http://se.informatik.uni-oldenburg.de)
University of Oldenburg, PO Box 2503, D-26111 Oldenburg, Germany
Room A2 2-235, Tel: +49 (0)441 798-2866, Fax: -2196
E-Mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to