jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lauri Lehtinen <lauri.h.lehti...@gmail.com>
Subject Re: Changes in HTTPSampler2 method signatures
Date Tue, 20 Dec 2011 03:47:18 GMT
On Mon, Dec 19, 2011 at 8:17 PM, sebb <sebbaz@gmail.com> wrote:

> On 19 December 2011 20:42, Lauri Lehtinen <lauri.h.lehtinen@gmail.com>
> wrote:
> > Hello,
> >
> > A custom sampler we've been using extends HTTPSampler2. I started looking
> > into why it no longer worked with JMeter 2.5.1, and tracked it down to
> some
> > changes in the super class (HTTPSampler2). A closer look revealed that in
> > several cases, the method signatures changed, and now require a
> PostMethod
> > instead of HttpMethodBase which our sampler is passing in. The method
> > implementations themselves, however, seem to delegate to methods that in
> > their turn accept any HttpMethod.
> >
> > Examples are these methods: setupConnection, saveConnectionCookies,
> > getResponseHeaders, getConnectionHeaders.
> >
> > Was there some reason for this backwards incompatible change that I fail
> to
> > see?
>
> It was probably a mistake.
>
> Feel free to raise a Bugzilla issue for it.
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=52371

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message