Probably easier to use two different properties files, and pass them to the test using the -q command-line parameter.
Or use different directories for the tests, each with its own user.properties file. On 14/09/2007, Knut Borchart <[EMAIL PROTECTED]> wrote: > Hi, > > here is what i want to do: use the same jmeter script to test LIVE and > TEST servers, with different configurations for hostname, path etc. I > have two different user parameter blocks and one variable on test plan > level which i set to either testmode or livemode. User parameter > blocks are placed in IF-Controller scope where i check the value of > the current mode. > > Unfortunately it seems like that the parameter blocks where i define > variables for the script are evaluated both despite i placed them in > IF-Controllers where only one evaluates to true depending on the mode. > > Is this supposed to be that way? How can i achieve that a parameter > block is only evaluated under certain conditions? The JMeter test plan is not processed in strict order, apart from Controllers and Samplers. Other elements are processed according to their type and level within the hierarchy. See: http://jakarta.apache.org/jmeter/usermanual/test_plan.html > TIA, Knut > > --------------------------------------------------------------------- > 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]

