I was looking for re-usability and avoiding duplication and include controller definitely solves the issue.
Thanks a lot. On Wed, Dec 30, 2015 at 9:57 PM, Deepak Shetty <[email protected]> wrote: > Hi > You cant include a thread group in a different test plan using JMeter out > of the box - The standard way is > > http://jmeter.apache.org/usermanual/component_reference.html#Include_Controller > . > > However JMeter's test plan is ultimately just a text/XML file and you can > manipulate that anyway you choose to achieve the share thread group shared > across test plans. (For e.g. you could have a place holder in your test > plan whose contents gets replaced as a pre step in your build process) > > A relevant question would be why you feel the need to share a Thread Group > (Rather than just the test steps which is supported in an Include > controller) - The parameters that can be set on a thread group like number > of threads etc can be externalized using properties- reducing the need to > share a thread group. > > regards > deepak > > On Wed, Dec 30, 2015 at 12:50 AM, Nitin <[email protected]> > wrote: > > > Hello Everyone, > > > > We recently started evaluating JMeter and it's awesome. > > > > We want to use it to for functional testing in which case we want to > share > > threadGroups across multiple test-plans. > > > > Researching for a few hours now, couldn't figure out ways to save ONLY a > > threadGroup and import it in another testPlan, such that > changing/updating > > the ThreadGroup should reflect in all plans using it. > > > > Any pointers, please. > > > > Thanks > > > > > > > > -- > > Regards > > Nitin > > Java | Php | Js | jQuery | Backbone | MongoDB developer and Webscraper > > http://nitinsurana.com > > Expert mentor at Codementor.io - https://www.codementor.io/coding_idiot > > > -- Regards Nitin Java | Php | Js | jQuery | Backbone | MongoDB developer and Webscraper http://nitinsurana.com Expert mentor at Codementor.io - https://www.codementor.io/coding_idiot
