Sorry it was a reply to the wrong email... :(

This code will add a textArea into the XXXHTTPsampler2 GUI. If this is populated it will be sent when a PUT request is made. It also adds a REPORT method option which can be used for the PUT method. This is because we needed to send BODY date while dynamicly changing values within the tags being sent.

The reason I placed it into a seperate class is that we use the HTTPSampler2 for other tests and my Java skills are way to fresh for me to trust myself to work with that one for now :)

So I just put it into a new sampler/class so as not to break anything.

At the moment with only a few threads it looks to be working ok, the only thing its not doing is recording the BODY Data being sent so if you look in the View Result Tree Listner it will not show what you send.

Just thought it might come in handy for someone else trying to get the same thing done. But I am sure there are much better ways of getting this done...

Cheers

R

From: sebb <[EMAIL PROTECTED]>
Reply-To: "JMeter Users List" <[email protected]>
To: "JMeter Users List" <[email protected]>
Subject: Re: Header Manager bug?
Date: Thu, 5 Oct 2006 13:36:42 +0100

What has this to do with the Header Manager bug?

Perhaps you could explain the purpose of the new class?

If these changes are enhancements to the HTTPSampler2 class, then
perhaps they should be added as options, rather than as a brand new
class.

S.
On 05/10/06, R R <[EMAIL PROTECTED]> wrote:
Hi,

Thought this might be of use to someone else trying to do the same thing
with low Java skills ;). Things I had to change to get Body to be sent and a
New Method called REPORT to be added...

Changes to HTTPSampler2.java

[...]

Reza

>From: sebb <[EMAIL PROTECTED]>
>Reply-To: "JMeter Users List" <[email protected]>
>To: "JMeter Users List" <[email protected]>
>Subject: Re: Header Manager bug?
>Date: Wed, 4 Oct 2006 13:58:56 +0100
>
>There's already a similar bug report; I suggest you update it with
>your information if necessary.
>
>On 03/10/06, R R <[EMAIL PROTECTED]> wrote:
>>Hi,
>>
>>Not sure if this is intended behaviour if not I will raise a bugzilla.
>>
>>If you copy the Header Manager to another sampler in another thread group >>and then change a value in the header (not the header name, so change the >>value of Depth from 1 to 2 for example). It will change the value for all
>>of
>>the Header Managers not just the one that was changed. I assume this is as
>>they are referring to the same object.
>>
>>A workaround is to not use the copy and past but to either create a new
>>header manager in the thread group or delete the old value and then
>>re-insert it.
>>
>>Intended?
>>
>>R

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


_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters


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

Reply via email to