See the JMeterFAQ - http://nagoya.apache.org/wiki/apachewiki.cgi?JMeterFAQ
About half-way down, you will find the following: Question:How do I pass parameters into my Test scripts? I want to be able to use the same script to test with different numbers of threads and loops, and I don't want to have to change the script each time. S. ----- Original Message ----- From: "Sonam Chauhan" <[EMAIL PROTECTED]> To: "'JMeter Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, December 31, 2003 2:34 AM Subject: Execute n threads Hello - In the 'Thread Group' element, I want to set 'Number of Threads' and 'Loop Count' to *either* set of properties below. This is so I can use the same JMX for both, load and integration testing. ---------------------------------------- # For integration testing ce.b2b.integration.threads=1 ce.b2b.integration.iterations=1 # For load testing ce.b2b.load.threads=100 ce.b2b.load.iterations=10 ---------------------------------------- I was thinking of using a 'If' Logic controller can initialize internal JMeter variables. However, it seems impossible to insert the 'If' Logic controller *above* the Thread Group. Short of rewriting the properties file at runtime, is there a better solution? With regards, Sonam Chauhan -- Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Fax: 9335-0753, Email: [EMAIL PROTECTED] --------------------------------------------------------------------- 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]

