http://wiki.apache.org/jakarta-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.
On 11/05/2010, Jeff Boschee <[email protected]> wrote: > I'm trying to add a parameter to user.properties to make the URL dynamic > so that the user.properties file can be replaced to point to different > URLs. I wrote a tool that outputs a user.properties file. The problem > I'm having is that I can't seem to use passed in properties in HTTP > Request Defaults. I've tried different ways of doing it, but I'd like > to do something like this. > > ${__P(testURL, http://about.blank)} > > I can use a parameter like > > ${server} > > However the variable has to be defined in the test plan and it won't use > the property from the file. > > Does anyone know of a way to do this? I've gotten lots of other things > to use the properties file such as threads and rampup. > > Thanks > Jeff > > > --------------------------------------------------------------------- > 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]

