You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Cédric Tabin <ta...@gmail.com> on 2008/05/07 15:47:32 UTC
Extending ThreadGroup
Hello,
I'm trying to add my own ThreadGroup element to JMeter. I simply did a class
that extends ThreadGroupGui and the related method that I want
(getLabelResource, ...), but I doesn't shows up into the PopupMenu into
JMeter :( Is there something special to do ? (It works well if I extend
AbstractSamplerGui for example)
Thanks & best regards,
Cedric
Re: Extending ThreadGroup
Posted by sebb <se...@gmail.com>.
On 08/05/2008, Cédric Tabin <ta...@gmail.com> wrote:
> Hello sebb,
>
> I would like to do that :
> 1) when you right-click the Test Plan > add ThreadTest
> 2) The ThreadTest class will read a folder and for each file read, will
> create a Sampler (maybe JavaSampler, to see...)
> 3) You have the ThreadTest containing all the samplers for each file read.
>
> My second problem was to create the samples in a way that they are
> displayed, but I think that I must manage with the GuiPackage... correct ?
>
Have a look at the Proxy Recorder - this creates samples etc and adds
them to the tree.
Otherwise, you could generate the samplers as JMX files, and then load
them using Merge.
> Regards,
> Cedric
>
>
> On Thu, May 8, 2008 at 1:18 PM, sebb <se...@gmail.com> wrote:
>
> > On 07/05/2008, Cédric Tabin <ta...@gmail.com> wrote:
> > > Hello,
> > >
> > > I'm trying to add my own ThreadGroup element to JMeter. I simply did a
> > class
> > > that extends ThreadGroupGui and the related method that I want
> > > (getLabelResource, ...), but I doesn't shows up into the PopupMenu into
> > > JMeter :( Is there something special to do ? (It works well if I extend
> > > AbstractSamplerGui for example)
> >
> > Sorry, no idea. Perhaps the code looks specifically for the
> > ThreadGroup class name?
> >
> > What are you trying to do with your own ThreadGroup?
> >
> > >
> > > Thanks & best regards,
> > > Cedric
> > >
> >
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Extending ThreadGroup
Posted by Cédric Tabin <ta...@gmail.com>.
Hello sebb,
I would like to do that :
1) when you right-click the Test Plan > add ThreadTest
2) The ThreadTest class will read a folder and for each file read, will
create a Sampler (maybe JavaSampler, to see...)
3) You have the ThreadTest containing all the samplers for each file read.
My second problem was to create the samples in a way that they are
displayed, but I think that I must manage with the GuiPackage... correct ?
Regards,
Cedric
On Thu, May 8, 2008 at 1:18 PM, sebb <se...@gmail.com> wrote:
> On 07/05/2008, Cédric Tabin <ta...@gmail.com> wrote:
> > Hello,
> >
> > I'm trying to add my own ThreadGroup element to JMeter. I simply did a
> class
> > that extends ThreadGroupGui and the related method that I want
> > (getLabelResource, ...), but I doesn't shows up into the PopupMenu into
> > JMeter :( Is there something special to do ? (It works well if I extend
> > AbstractSamplerGui for example)
>
> Sorry, no idea. Perhaps the code looks specifically for the
> ThreadGroup class name?
>
> What are you trying to do with your own ThreadGroup?
>
> >
> > Thanks & best regards,
> > Cedric
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: Extending ThreadGroup
Posted by sebb <se...@gmail.com>.
On 07/05/2008, Cédric Tabin <ta...@gmail.com> wrote:
> Hello,
>
> I'm trying to add my own ThreadGroup element to JMeter. I simply did a class
> that extends ThreadGroupGui and the related method that I want
> (getLabelResource, ...), but I doesn't shows up into the PopupMenu into
> JMeter :( Is there something special to do ? (It works well if I extend
> AbstractSamplerGui for example)
Sorry, no idea. Perhaps the code looks specifically for the
ThreadGroup class name?
What are you trying to do with your own ThreadGroup?
>
> Thanks & best regards,
> Cedric
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org