On 05/12/2007, Sebastian Straus <[EMAIL PROTECTED]> wrote:
> -------- Original-Nachricht --------
> Datum: Tue, 04 Dec 2007 16:28:34 +0100
> Von: "Sebastian Straus" <[EMAIL PROTECTED]>
> An: jmeter-user@jakarta.apache.org
> Betreff: CollectionProperty in BeanShell
>
> Hello Community
> I've got a problem with the class CollectionProperty in my BeanShell 
> Pre-Processor.
> I need access to the methods of CollectionProperty, but all the methods 
> aren't work.
> Maybe it is possible to give me an advice. It is possible, that the class is 
> deprecated?

Not relevant, but you can check the Javadoc.

> My concrete problem:
> I want to get access to some userspecified-Variables in my 
> BeanShell-Preprocessor.

As I wrote earlier, variables are accessed as:

vars.get("VAR1"); vars.put("VAR2","value"); vars.remove("VAR3");

i.e.

vars.get(String); vars.put(String,String); vars.remove(String);

so you can also do:

String varname="whatever";

vars.get(varname);

> Thank you for you support. You do me a big favour.
>
> Thank you for you answer, Seb. I have known the opportunity, but I want to 
> use the
> methods of the CollectionProperty. And they aren't work. Is there something I 
> need to account?

Read the Javadoc.

> Thank you very much.
>
>
> Sebastian
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
>
> --
> GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
> Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
>
>
> ---------------------------------------------------------------------
> 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