a good idea to learn how to extend is to download the source and read these
two files:

%JMeter_HOME%\jakarta-
jmeter-2.1.1\src\examples\org\apache\jmeter\examples\sampler\ExampleSampler.java
%JMeter_HOME%\jakarta-
jmeter-2.1.1\src\examples\org\apache\jmeter\examples\sampler\gui\ExampleSamplerGui.java

there is a .pdf too that explains a little how to extend JMeter ...but i
realy understand how do it seeing this example.

i wrote a document that explains my experience, but is in spanish. but if
you want it ... just tell me.

simon

2006/3/28, Simon <[EMAIL PROTECTED]>:
>
> hi, the getLabelResource returns a key that is used for getting a string
> from a file. this string is the string that you see in the GUI.
> when you write another component you have to modify these files (one per
> language) adding the new key.
> the files are in the binary:
>
> %JMeterHome%\lib\ext\ApacheJMeter_core.jar\org\apache\jmeter\resources\
>
> or in the source:
>
> %JMeterHome%\src\core\org\apache\jmeter\resources\
>
>
> 2006/3/27, sebb <[EMAIL PROTECTED]>:
>
> > What is it that is missing from the current elements?
> >
> > JMeter variables are thread-specific variables; just put/get them as
> > needed.
> >
> > There are some example samplers in the 2.1 branch that I have just
> > updated; there aren't any sample config elements, but you could just
> > amend an existing one. [I might get around to creating one.]
> >
> > Control elements are by far the most complicated part of JMeter; I'm
> > not sure I understand them ...
> >
> > S.
> > On 27/03/06, Travis Cooper < [EMAIL PROTECTED]> wrote:
> > > I am trying to make some new config and control elements to do some
> > > things that I can't do with what exists right now in JMeter.  I have
> > > been noticing that the set of controllers that exist all use
> > JMeterUtils
> > > to handle aliased names.  How can I register my variables with
> > > JMeterUtils so I can use that functionality?  Especially because the
> > > getLabelResource expects a string that maps into the JMeterUtils'
> > > structure.  Also, if anybody knows of a tutorial somewhere that is
> > more
> > > up to date with extending that would be very helpful.  If I could just
> > > see how to get one working I would be able to do things a lot faster.
> > > So if anybody knows where one is, or could make one, with step by step
> > > instructions for what classes to extend and implement and what the
> > > methods needed are and what they do that would be great.
> > >
> > > Thanks,
> > > Travis J. Cooper
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to