Hello,
It's documented in include controller but maybe needs clarification.
@Nicola, could you open a bugzilla for your descriptio about save as ?

Thanks

On Tuesday, October 22, 2013, Robin D. Wilson wrote:

> It figures... That works.
>
> Now I'll have to go through all my "Includes" and change them from simple
> controllers to "Test Fragments".
>
> Is this documented somewhere - clearly? I read through the Test Fragment
> stuff, and it was as clear as muddy water...
>
> --
> Robin D. Wilson
> Sr. Director of Web Development
> KingsIsle Entertainment, Inc.
> VOICE: 512-777-1861
> http://www.kingsisle.com
>
> -----Original Message-----
> From: Nicola Ambrosetti Brolin [mailto:ambrosetti.nic...@gmail.com]
> Sent: Tuesday, October 22, 2013 8:40 AM
> To: JMeter Users List
> Subject: Re: JMeter 2.10 Include Controller doesn't seem to be working
>
> The test fragment must be inside the included file, for the include
> controller will ignore any test element not placed under a test
> fragment.
>
> You can however have a test fragment as parent of the include controller,
> which includes a file containing another test fragment. I
> use this setup for example to be able to point to the include controller
> from a module controller in the thread group.
>
> To summarize this is the way to do it:
>
> Included file:
>
> Test Plan
>   |--Test fragment
>          |-- sampler 1
>          |-- sampler 2
>
>
> Test project:
>
>
> Test Plan
>   |--Test fragment
>   |       |-- Include controller (pointing to included file above)
>   |-- Thread group
>           |-- Sampler 3
>           |-- Module controller (pointing to Test Fragment > Include
> controller)
>           |-- Sampler 4
>
>
> This will be run as:
> Sampler 3
> sampler 1
> sampler 2
> Sampler 4
>
> On 22 October 2013 14:49, Robin D. Wilson <rwils...@gmail.com> wrote:
>
> > So let me understand, do I need to put the "Test Fragment" inside the
> > included file, or do I put the Include Controller inside a Test Fragment?
> >
> > --
> > Robin D. Wilson
> > VOICE: 512-777-1861
> >
> >
> >
> > On Oct 22, 2013, at 6:52 AM, Nicola Ambrosetti Brolin <
> > ambrosetti.nic...@gmail.com> wrote:
> >
> > I might add (since I was the reporter of bug 55464) that it is
> > confusing that when using "Save selection as" the produced jmx project
> > has the selected steps sitting right under the test plan, instead of
> > being under a test fragment. Thus one could be led to believe that the
> > saved selection could be included as is. However this is not the case:
> > the include controller will completely ignore anything in the included
> > project that is not child of a test fragment.
> >
> > Cheers,
> >
> > Nicola
> >
> >
> > On 22 October 2013 10:58, UBIK LOAD PACK Support
> > <supp...@ubikloadpack.com>wrote:
> >
> > > Hello,
> > > I think you are misusing Test Fragments.
> > >
> > > Test Fragment should be in INCLUDED Test Plan not INCLUDER.
> > >
> > > So in your case they should be Login.jmx and Timer.jmx.
> > > While according to what you show and to log file they are in
> > > INCLUDED
> > Test
> > > Plan.
> > >
> > > I think this is what changes mentions:
> > >
> > >   - The correct way to include Test Elements is to use *Test Fragment
> *as
> > >   stated in documentation of *Include Controller *.
> > >   - The include controller is designed to use an external jmx file.
> > > To
> > use
> > >   it, create a Test Fragment underneath the Test Plan and add any
> desired
> > >   samplers, controllers etc. below it. Then save the Test Plan. =>
> > > The file
> > >   is now ready to be included as part of other Test Plans.<=
> > >
> > >
> > > Regards
> > >
> > >
> > > On Tue, Oct 22, 2013 at 4:13 AM, Robin D. Wilson
> > > <rwils...@gmail.com>
> > > wrote:
> > >
> > >> That is exactly what I'm using (Test Fragments)...
> > >>
> > >> --
> > >> Robin D. Wilson
> > >> VOICE: 512-777-1861
> > >>
> > >>
> > >>
> > >> On Oct 21, 2013, at 6:49 PM, UBIK LOAD PACK Support <
> > >> supp...@ubikloadpack.com> wrote:
> > >>
> > >> Hello,
> > >> Incompatible changes explains your issue:
> > >>
> > >> - <http://jmeter.apache.org/changes.html>> >>> --- To unsubscribe,
> e-mail: user-unsubscr...@jmeter.apache.org <javascript:;>
> > > <javascript:;>
> > >>> For additional commands, e-mail: 
> > >>> user-h...@jmeter.apache.org<javascript:;>
> > >> <javascript:;>
> > >>>
> > >>>
> > >>
> > >> --
> > >>
> > >> Regards
> > >> Ubik Load Pack <http://ubikloadpack.com> Team Follow us on Twitter
> > >> <http://twitter.com/ubikloadpack>
> > >>
> > >>
> > >> Cordialement
> > >> L'équipe Ubik Load Pack <http://ubikloadpack.com> Suivez-nous sur
> > >> Twitter <http://twitter.com/ubikloadpack>
> > >>
> > >> -------------------------------------------------------------------
> > >> -- To unsubscribe, e-mail: 
> > >> user-unsubscr...@jmeter.apache.org<javascript:;>
> > >> For additional commands, e-mail: 
> > >> user-h...@jmeter.apache.org<javascript:;>
> > >>
> > >>
> > >
> > >
> > > --
> > >
> > > Regards
> > > Ubik Load Pack <http://ubikloadpack.com> Team Follow us on Twitter
> > > <http://twitter.com/ubikloadpack>
> > >
> > >
> > > Cordialement
> > > L'équipe Ubik Load Pack <http://ubikloadpack.com> Suivez-nous sur
> > > Twitter <http://twitter.com/ubikloadpack>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org<javascript:;>
> > For additional commands, e-mail: user-h...@jmeter.apache.org<javascript:;>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org <javascript:;>
> For additional commands, e-mail: user-h...@jmeter.apache.org<javascript:;>
>
>

-- 
Cordialement.
Philippe Mouawad.

Reply via email to