Re: Reusable JMeter Modules

2013-06-20 Thread Deepak Shetty
look at module and include controllers On Thu, Jun 20, 2013 at 2:15 PM, Wanjun Wang wang...@us.ibm.com wrote: Is it possible to design reusable modules within JMeter? For example, there are 3 pages with same design. Each has main response and an additional AJAX request. I'd like to have

Re: Reusable JMeter Modules

2013-06-20 Thread sebb
Also look at using variables to parameterise tests 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.

RE: Reusable JMeter Modules

2013-06-20 Thread Robin D. Wilson
We do this all the time. Our test cases include 'modules' to do things like 'login', and 'registration', etc. You want to use User Variables, and User Parameters, and Include Controllers and Module Controllers in order to accomplish this. -- Robin D. Wilson Sr. Director of Web Development

Re: Reusable JMeter Modules

2013-06-20 Thread Mark Miller
As mentioned, read up on Test Fragments and Module Controllers. Also explore the use of properties files to seed your test variables. I make functional tests that I use to assert the consistency of disparate environments. I put all the environmentally unique variables (hosts, ports, passwords...)