The user.properties file if used does not need to be specified if in the working directory. It will be loaded automatically. Specify if you need to load additional property files.
Format in files is simply Property=value One per line. Note these are PROPERTIES, not variables. They behave differently. You can load a property's value into a variable if desired in your testplan using the __P function. Make sure you read up on the behavior of properties vs variables in the documentation. -Steve -----Original Message----- From: Marc Rennhard [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 10:41 AM To: [email protected] Subject: Passing user defined variables with the jmeter -q command line option Dear all, (see also https://issues.apache.org/bugzilla/show_bug.cgi?id=45009) I'm trying to use the jmeter -q command line option to pass a user.properties file (which contains user defined variables) to jmeter and access these properties within a testcase, but so have failed to use this correctly. I have tried this using the following: - In user.properties: url=www.google.com - In a sampler: ${url} But it didn't work. So my questions are the following: - Can I use this to pass "user defined variables" to jmeter that can be accessed within a testcase via ${var}? - How does this work in detail? - What format is required for user.properties? Thanks for any help, Marc --------------------------------------------------------------------- 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]

