You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Milamber <mi...@apache.org> on 2012/08/21 18:11:05 UTC
Change the default implementation of HTTP in HTTP request ?
Hello,
Regardless Cookie Manager (HC3/HC4), It's would be a good thing to
change the default implementation of the HTTP client in the HTTP request.
Today, the default is the HTTP "Java" request, but it has the following
issues:
* HTTPS less efficient than HC3 or HC4
* No possibility to change source IP
Implementation HC 3.1 is stable and reliable
The implementation HC4 is (relatively) recent in JMeter. And there were
some anomalies in the past.
I think the next version of JMeter could have HC3.1 as a default
implementation. (Or if you want to be bold, have HC4)
What's is your opinion?
Milamber
Re: Change the default implementation of HTTP in HTTP request ?
Posted by Milamber <mi...@apache.org>.
Le 21/08/2012 17:11, Milamber a ecrit :
> Hello,
>
> Regardless Cookie Manager (HC3/HC4), It's would be a good thing to
> change the default implementation of the HTTP client in the HTTP request.
>
> Today, the default is the HTTP "Java" request, but it has the
> following issues:
> * HTTPS less efficient than HC3 or HC4
> * No possibility to change source IP
* HTTP method PATCH support (HC3 and HC4)
>
> Implementation HC 3.1 is stable and reliable
>
> The implementation HC4 is (relatively) recent in JMeter. And there
> were some anomalies in the past.
>
> I think the next version of JMeter could have HC3.1 as a default
> implementation. (Or if you want to be bold, have HC4)
>
> What's is your opinion?
>
>
> Milamber
>
Re: Change the default implementation of HTTP in HTTP request ?
Posted by sebb <se...@gmail.com>.
On 21 August 2012 18:55, Immanuel Hayden <im...@gmail.com> wrote:
>> That's probably a bug in JMeter ...
> doh ^^ but it's controller-specific, it works with HC4, but no other ;)
JMeter has some wrapper code which is necessarily unique to each HTTP
implementation, as they all have different APIs (and behaviour).
>> Just put the full URL in the Path field.
> lol, never considered that, will try it out tomorrow at work :)
Re: Change the default implementation of HTTP in HTTP request ?
Posted by Immanuel Hayden <im...@gmail.com>.
> That's probably a bug in JMeter ...
doh ^^ but it's controller-specific, it works with HC4, but no other ;)
> Just put the full URL in the Path field.
lol, never considered that, will try it out tomorrow at work :)
Re: Change the default implementation of HTTP in HTTP request ?
Posted by sebb <se...@gmail.com>.
On 21 August 2012 17:34, Immanuel Hayden <im...@gmail.com> wrote:
> I personally rely on HC4 as it allows me to put more than just the host in
> the host field (ie. also part of the address)
That's probably a bug in JMeter ...
> ... why I do this? I mostly
> test our API which is running on (test.)api.xyz.com/Vx (x = version)
> whereas our devs partially have it run on their local machines just as
> localhost (so, without the Vx-subdirectory). Also the version almost never
> changes (and if it does it usually creates breaking changes which call for
> refactoring most TCs anyhow), so the part I put in the host line is
> essentially a static string that would only add overhead in the other
> fields.
>
> Sidenote: personally I don't understand why we have a split host and
> address field anyhow and not just one line (which then can be split on the
> first slash or something - there is surely a lib for this - should the
> http-implementation require so), but that's another story ;)
Just put the full URL in the Path field.
> On Tue, Aug 21, 2012 at 6:11 PM, Milamber <mi...@apache.org> wrote:
>
>> Hello,
>>
>> Regardless Cookie Manager (HC3/HC4), It's would be a good thing to change
>> the default implementation of the HTTP client in the HTTP request.
>>
>> Today, the default is the HTTP "Java" request, but it has the following
>> issues:
>> * HTTPS less efficient than HC3 or HC4
>> * No possibility to change source IP
>>
>> Implementation HC 3.1 is stable and reliable
>>
>> The implementation HC4 is (relatively) recent in JMeter. And there were
>> some anomalies in the past.
>>
>> I think the next version of JMeter could have HC3.1 as a default
>> implementation. (Or if you want to be bold, have HC4)
>>
>> What's is your opinion?
>>
>>
>> Milamber
>>
Re: Change the default implementation of HTTP in HTTP request ?
Posted by Immanuel Hayden <im...@gmail.com>.
I personally rely on HC4 as it allows me to put more than just the host in
the host field (ie. also part of the address) ... why I do this? I mostly
test our API which is running on (test.)api.xyz.com/Vx (x = version)
whereas our devs partially have it run on their local machines just as
localhost (so, without the Vx-subdirectory). Also the version almost never
changes (and if it does it usually creates breaking changes which call for
refactoring most TCs anyhow), so the part I put in the host line is
essentially a static string that would only add overhead in the other
fields.
Sidenote: personally I don't understand why we have a split host and
address field anyhow and not just one line (which then can be split on the
first slash or something - there is surely a lib for this - should the
http-implementation require so), but that's another story ;)
On Tue, Aug 21, 2012 at 6:11 PM, Milamber <mi...@apache.org> wrote:
> Hello,
>
> Regardless Cookie Manager (HC3/HC4), It's would be a good thing to change
> the default implementation of the HTTP client in the HTTP request.
>
> Today, the default is the HTTP "Java" request, but it has the following
> issues:
> * HTTPS less efficient than HC3 or HC4
> * No possibility to change source IP
>
> Implementation HC 3.1 is stable and reliable
>
> The implementation HC4 is (relatively) recent in JMeter. And there were
> some anomalies in the past.
>
> I think the next version of JMeter could have HC3.1 as a default
> implementation. (Or if you want to be bold, have HC4)
>
> What's is your opinion?
>
>
> Milamber
>