Import tests instead of making duplicate copies
Hi, Currently, as part of running the performance test *suite*, we are creating a copy of the original perf *test* and placing it into the perf suite. This is leading to redundant copies of a single perf test. Example: We recently created a new perf test titled SingleTest.jmx to test a new endpoint. A copy of this new test was placed in out test suite: AllTests.jmx. I was wondering if jmeter provides a way to import the tests instead of we making redundant copies leading to maintenance issues. Thanks, Prateek
Re: Import tests instead of making duplicate copies
On 11 March 2014 10:38, Prateek Asthana pary...@gmail.com wrote: Hi, Currently, as part of running the performance test *suite*, we are creating a copy of the original perf *test* and placing it into the perf suite. This is leading to redundant copies of a single perf test. Example: We recently created a new perf test titled SingleTest.jmx to test a new endpoint. A copy of this new test was placed in out test suite: AllTests.jmx. I was wondering if jmeter provides a way to import the tests instead of we making redundant copies leading to maintenance issues. If you want to execute the tests as part of the same test run, then look at: http://jmeter.apache.org/usermanual/component_reference.html#Include_Controller Otherwise, it's probably best to schedule your tests using external facilities. Thanks, Prateek - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org
Re: Import tests instead of making duplicate copies
There are a few things you need in order to do what you want... 1) test fragments - test fragments are a special kind of controller designed to allow you to include external test procedures into your test plan. 2) the include controller - you use an include controller to add a test fragment stored in an external file into your test plan. 3) the module controller - once you include an external test fragment into your test plan, you can use it multiple times in your test plan with a module controller. Read the documentation on these three things, and you should be able to get what you want. -- Robin D. Wilson VOICE: 512-777-1861 On Mar 11, 2014, at 5:38 AM, Prateek Asthana pary...@gmail.com wrote: Hi, Currently, as part of running the performance test *suite*, we are creating a copy of the original perf *test* and placing it into the perf suite. This is leading to redundant copies of a single perf test. Example: We recently created a new perf test titled SingleTest.jmx to test a new endpoint. A copy of this new test was placed in out test suite: AllTests.jmx. I was wondering if jmeter provides a way to import the tests instead of we making redundant copies leading to maintenance issues. Thanks, Prateek - To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org For additional commands, e-mail: user-h...@jmeter.apache.org