jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hamepal@gmail.com" <hame...@gmail.com>
Subject Re: How to access different test-fragment present in external test plan
Date Mon, 20 May 2013 03:44:38 GMT
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]<http://user/SendEmail.jtp?type=node&node=5716921&i=0><[hidden
> email] <http://user/SendEmail.jtp?type=node&node=5716921&i=1>>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]<http://user/SendEmail.jtp?type=node&node=5716921&i=2>
> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=5716921&i=3>
> >
> >
>
>
> ------------------------------
>  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<http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5716920&code=aGFtZXBhbEBnbWFpbC5jb218NTcxNjkyMHwxNTI5MzcwMzY5>
> .
> NAML<http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message