On 28/03/06, Simon <[EMAIL PROTECTED]> wrote:
> 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.

This is deliberate, so that JMeter can display a local language string
if required.

But I don't see how this relates to missing functionality in JMeter ...

> when you write another component you have to modify these files (one per
> language) adding the new key.

No, you only need to add the key to the default messages.properties.
Translations are optional.

You can also override getStaticLabel() if you don't want to allow the
title to be translated. But why do that?

> 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\
>

Yes.

>
> 2006/3/27, sebb <[EMAIL PROTECTED]>:
> >
> > What is it that is missing from the current elements?

I still don't understand what it is that JMeter is lacking ...

> >
> > 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]
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to