On 29 January 2014 00:42, Robin D. Wilson <[email protected]> wrote: > I have several test cases that I like to with slightly different User Defined > Variables configurations. > > I'd prefer not to have to save multiple versions of the test cases, simply > because it makes them harder to maintain. > > Is there a simple way to override 'User Defined Variable' values from the > command line (when running in non-gui mode)?
Not exactly. You can define UDVs as property references, with a default if the property is not defined. http://wiki.apache.org/jmeter/JMeterFAQ#How_do_I_pass_parameters_into_my_Test_scripts.3F_I_want_to_be_able_to_use_the_same_script_to_test_with_different_numbers_of_threads_and_loops.2C_and_I_don.27t_want_to_have_to_change_the_script_each_time. > (Specifically, I have a variable for "number of threads", and another one for > "total iterations".) > > -- > Robin D. Wilson > Sr. Director of Web Development > KingsIsle Entertainment, Inc. > VOICE: 512-777-1861 > http://www.kingsisle.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]
