jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Refactoring in HTTPHC4Impl
Date Mon, 01 Jul 2013 23:13:09 GMT
On 1 July 2013 19:06, Immanuel Hayden <immanuel.hayden@gmail.com> wrote:
> Hi!
>
> I got only one request regarding this which is to make sure that the
> "server" can still contain part of the address
> eg server = api.example.com/V2/
> address = testservice.svc/health
> because I use that quite heavily in my testcases, as locally the project
> runs directly on localhost with no subdirectory and on the servers it runs
> in the Vx subdirectories -> devs and myself just have to change one line
> and not every sampler if they want to try something.

I'm not sure we can guarantee that, as this behaviour is likely an
accident of the way the HTTP code is implemented. It's certainly not
documented as being supported by JMeter, and might have to change.

There are other ways to achieve the same effect, e.g. by using a test
plan variable.

> in any case, thx for the great work :)
> br,
> Imm
>
>
> On 1 July 2013 17:18, Philippe Mouawad <philippe.mouawad@gmail.com> wrote:
>
>> Created bug:
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=55175
>>
>> Waiting for your feedback before commit.
>>
>> On Mon, Jul 1, 2013 at 5:06 PM, Philippe Mouawad <
>> philippe.mouawad@gmail.com
>> > wrote:
>>
>> > Hello,
>> > As per sebb request, I ask before implementing :-)
>> >
>> > I would like to refactor slightly HTTPHC4Impl to allow inheritance from
>> it
>> > to reuse many of already implemented and useful internals.
>> > This would be useful to classes that which for example to post binary
>> > content and similar stuff.
>> >
>> > Are you ok with it ? Can I open a bugzilla and do it ?
>> >
>> > Thanks
>> > --
>> > Regards.
>> > Philippe.
>> >
>> >
>> >
>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
>>

Mime
View raw message