On 19 December 2011 20:42, Lauri Lehtinen <[email protected]> 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. > Regards, > > Lauri
