Hi,

Thanx Again.

I took the plunge and made our own custom sampler. For anyone else with low Java skills who wants to do this I found the Test Sampler a perfect place to start from. Its simple and with lots of copy and paste, easy to start making changes to it.

Cheers

R


From: sebb <[EMAIL PROTECTED]>
Reply-To: "JMeter Users List" <[email protected]>
To: "JMeter Users List" <[email protected]>
Subject: Re: TestBean and Objects
Date: Tue, 12 Sep 2006 16:25:27 +0100

On 08/09/06, R R <[EMAIL PROTECTED]> wrote:
Hello again! :)

So this is all working very nicely now and it did not take much time at all
to set-up.

The only issue I have left is getting the TestBean to show a TextArea for
one of the parameters. This parameter can be any XML message (which can be
very long) with some of the values being variables to be taken from Jmeter
logic.

The ideas I have had to solve it are:

1) Build a new GUI sampler (probably a bit over my current java skills.... )
2) Get the API to look at a flat file for the info it should read. But in
this file have the xml statments with some "token" which I can get the user
to put into the TestBean variable as "Token1,${value1},Token2,${Value2},
etc...

But if there is a way to get the TestBean sampler to show a textarea it
would make things a lot easier....


It is probably not all that difficult to add text area support.
Probably easiest to start with the classes that support TestBean plain
text input, and create new classes that use TextArea instead.

S.

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


_________________________________________________________________
Download the new Windows Live Toolbar, including Desktop search! http://toolbar.live.com/?mkt=en-gb


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

Reply via email to