Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74D159972 for ; Mon, 20 May 2013 03:45:42 +0000 (UTC) Received: (qmail 59500 invoked by uid 500); 20 May 2013 03:45:41 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 58616 invoked by uid 500); 20 May 2013 03:45:30 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 58384 invoked by uid 500); 20 May 2013 03:45:25 -0000 Delivered-To: apmail-jakarta-jmeter-user@jakarta.apache.org Received: (qmail 57875 invoked by uid 99); 20 May 2013 03:45:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 May 2013 03:45:23 +0000 X-ASF-Spam-Status: No, hits=4.2 required=5.0 tests=HTML_MESSAGE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of hamepal@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 May 2013 03:45:19 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UeH1a-0005Fg-EU for jmeter-user@jakarta.apache.org; Sun, 19 May 2013 20:44:38 -0700 Date: Sun, 19 May 2013 20:44:38 -0700 (PDT) From: "hamepal@gmail.com" To: jmeter-user@jakarta.apache.org Message-ID: In-Reply-To: References: <1368943343091-5716920.post@n5.nabble.com> Subject: Re: How to access different test-fragment present in external test plan MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_120883_13243290.1369021478443" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_120883_13243290.1369021478443 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Anthony, Thanks for the reply. I appreciate your help. On Sun, May 19, 2013 at 6:31 AM, Anthony Johnson [via JMeter] < ml-node+s512774n5716921h87@n5.nabble.com> wrote: > Hey hamepal, > I had a vision of the IncludeController, ModuleController, and > TestFragments working like this when I contributed the TestFragment code. > Unfortunately, the IncludeController references aren't loaded until you > run > the test plan which means that the ModuleController can't reference its > internals:-( > > The best you have without a code change is one TestFragment per > IncludeController and then to use a TestFragment in your main Test Plan to > Include them all. ModuleControllers can then reference each included file > to execute its contents. > > I actually tried working on the flow you described because it would be > rather elegant and highly re-usable, but I ran into a ton of issues. > > Hope this helps, > > Anthony > > > On Sun, May 19, 2013 at 2:02 AM, [hidden email]<[hidden > email] >wrote: > > > I want to create a common test plan and define multiple test fragment in > > this > > file. I want to use some of the specific test fragment in the specific > test > > plan. Here is outline of two different test plan. > > > > common-test-plan.jmx > > common-test-plan > > |--TestFragment1 > > | |-Sampler11 > > | > > |--TestFragment2 > > |-Sampler21 > > > > Specific-test-plan.jmx > > Some-Test-plan > > |--ThreadGroup1 > > |-IncludeController > > |-Module controller(accessing the Include controller) > > |-Sampler1 > > |-Sampler2 > > > > > > > > I used include controller to include the external test plan component. > When > > I use the Module controller it just shows the include controller in the > > list. It doesn't show all test fragment present in the external test > plan. > > > > Is there any way I can specifically use few of the test fragment present > in > > the external test? > > > > > > > > -- > > View this message in context: > > > http://jmeter.512774.n5.nabble.com/How-to-access-different-test-fragment-present-in-external-test-plan-tp5716920.html > > Sent from the JMeter - User mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://jmeter.512774.n5.nabble.com/How-to-access-different-test-fragment-present-in-external-test-plan-tp5716920p5716921.html > To unsubscribe from How to access different test-fragment present in > external test plan, click here > . > NAML > -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-access-different-test-fragment-present-in-external-test-plan-tp5716920p5716922.html Sent from the JMeter - User mailing list archive at Nabble.com. ------=_Part_120883_13243290.1369021478443--