You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by R R <ra...@hotmail.co.uk> on 2006/09/26 16:06:41 UTC
Diff between URLConnection and HTTPClient
Hi,
I am trying to do some customiations with the HTTP sampler.
I would like to use the HTTPClient version as this looks easier to work with
for the Body stuff I am trying to send.
Is the HTTPClient sampler as stable as the Standard one? I found a issue
when trying to use the Authorization Manager with the HTTPClient which does
not happen with the Standard one. It could just be something funny with my
env... but it just got me thinking I should check which is the better one to
customise.
Thanx
R
_________________________________________________________________
Windows Live Messenger has arrived. Click here to download it for free!
http://imagine-msn.com/messenger/launch80/?locale=en-gb
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Diff between URLConnection and HTTPClient
Posted by R R <ra...@hotmail.co.uk>.
Hi,
I tried it with jakarta-jmeter-2-2.20061004 and it could Auth with normal
http sampler but not HTTPClient one.
Thanx
Reza
>From: sebb <se...@gmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: Diff between URLConnection and HTTPClient
>Date: Thu, 28 Sep 2006 21:27:31 +0100
>
>There was a problem with Authorization that was fixed in the current
>nightly build.
>
>Might be worth checking that to see if it works OK.
>
>S.
>On 27/09/06, R R <ra...@hotmail.co.uk> wrote:
>>Hi,
>>
>>I will raise a bug on this one. Looks like the Auth Manager does not
>>append
>>the header for the HTTPClient.
>>
>>Temp work around is just to get the needed Hash and hardcode it into the
>>Header Manager.
>>
>>Cheers
>>
>>R
>>
>>
>> >From: sebb <se...@gmail.com>
>> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >To: "JMeter Users List" <jm...@jakarta.apache.org>
>> >Subject: Re: Diff between URLConnection and HTTPClient
>> >Date: Tue, 26 Sep 2006 16:39:40 +0100
>> >
>> >I would say that they are now both equally stable.
>> >
>> >The underlying HTTPClient code is more versatile, not least because it
>> >comes with full source...
>> >
>> >If there are any bugs in either, please raise a Bugzilla issue, and
>> >we'll try to deal with it.
>> >
>> >S.
>> >On 26/09/06, R R <ra...@hotmail.co.uk> wrote:
>> >>Hi,
>> >>
>> >>I am trying to do some customiations with the HTTP sampler.
>> >>
>> >>I would like to use the HTTPClient version as this looks easier to work
>> >>with
>> >>for the Body stuff I am trying to send.
>> >>
>> >>Is the HTTPClient sampler as stable as the Standard one? I found a
>>issue
>> >>when trying to use the Authorization Manager with the HTTPClient which
>> >>does
>> >>not happen with the Standard one. It could just be something funny with
>>my
>> >>env... but it just got me thinking I should check which is the better
>>one
>> >>to
>> >>customise.
>> >>
>> >>Thanx
>> >>
>> >>R
>> >>
>> >>_________________________________________________________________
>> >>Windows Live Messenger has arrived. Click here to download it for
>>free!
>> >>http://imagine-msn.com/messenger/launch80/?locale=en-gb
>> >>
>> >>
>> >>---------------------------------------------------------------------
>> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >
>>
>>_________________________________________________________________
>>The new Windows Live Toolbar helps you guard against viruses
>>http://toolbar.live.com/?mkt=en-gb
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
_________________________________________________________________
Windows Live Messenger has arrived. Click here to download it for free!
http://imagine-msn.com/messenger/launch80/?locale=en-gb
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Diff between URLConnection and HTTPClient
Posted by sebb <se...@gmail.com>.
There was a problem with Authorization that was fixed in the current
nightly build.
Might be worth checking that to see if it works OK.
S.
On 27/09/06, R R <ra...@hotmail.co.uk> wrote:
> Hi,
>
> I will raise a bug on this one. Looks like the Auth Manager does not append
> the header for the HTTPClient.
>
> Temp work around is just to get the needed Hash and hardcode it into the
> Header Manager.
>
> Cheers
>
> R
>
>
> >From: sebb <se...@gmail.com>
> >Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
> >To: "JMeter Users List" <jm...@jakarta.apache.org>
> >Subject: Re: Diff between URLConnection and HTTPClient
> >Date: Tue, 26 Sep 2006 16:39:40 +0100
> >
> >I would say that they are now both equally stable.
> >
> >The underlying HTTPClient code is more versatile, not least because it
> >comes with full source...
> >
> >If there are any bugs in either, please raise a Bugzilla issue, and
> >we'll try to deal with it.
> >
> >S.
> >On 26/09/06, R R <ra...@hotmail.co.uk> wrote:
> >>Hi,
> >>
> >>I am trying to do some customiations with the HTTP sampler.
> >>
> >>I would like to use the HTTPClient version as this looks easier to work
> >>with
> >>for the Body stuff I am trying to send.
> >>
> >>Is the HTTPClient sampler as stable as the Standard one? I found a issue
> >>when trying to use the Authorization Manager with the HTTPClient which
> >>does
> >>not happen with the Standard one. It could just be something funny with my
> >>env... but it just got me thinking I should check which is the better one
> >>to
> >>customise.
> >>
> >>Thanx
> >>
> >>R
> >>
> >>_________________________________________________________________
> >>Windows Live™ Messenger has arrived. Click here to download it for free!
> >>http://imagine-msn.com/messenger/launch80/?locale=en-gb
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
>
> _________________________________________________________________
> The new Windows Live Toolbar helps you guard against viruses
> http://toolbar.live.com/?mkt=en-gb
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Diff between URLConnection and HTTPClient
Posted by R R <ra...@hotmail.co.uk>.
Hi,
I will raise a bug on this one. Looks like the Auth Manager does not append
the header for the HTTPClient.
Temp work around is just to get the needed Hash and hardcode it into the
Header Manager.
Cheers
R
>From: sebb <se...@gmail.com>
>Reply-To: "JMeter Users List" <jm...@jakarta.apache.org>
>To: "JMeter Users List" <jm...@jakarta.apache.org>
>Subject: Re: Diff between URLConnection and HTTPClient
>Date: Tue, 26 Sep 2006 16:39:40 +0100
>
>I would say that they are now both equally stable.
>
>The underlying HTTPClient code is more versatile, not least because it
>comes with full source...
>
>If there are any bugs in either, please raise a Bugzilla issue, and
>we'll try to deal with it.
>
>S.
>On 26/09/06, R R <ra...@hotmail.co.uk> wrote:
>>Hi,
>>
>>I am trying to do some customiations with the HTTP sampler.
>>
>>I would like to use the HTTPClient version as this looks easier to work
>>with
>>for the Body stuff I am trying to send.
>>
>>Is the HTTPClient sampler as stable as the Standard one? I found a issue
>>when trying to use the Authorization Manager with the HTTPClient which
>>does
>>not happen with the Standard one. It could just be something funny with my
>>env... but it just got me thinking I should check which is the better one
>>to
>>customise.
>>
>>Thanx
>>
>>R
>>
>>_________________________________________________________________
>>Windows Live Messenger has arrived. Click here to download it for free!
>>http://imagine-msn.com/messenger/launch80/?locale=en-gb
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
_________________________________________________________________
The new Windows Live Toolbar helps you guard against viruses
http://toolbar.live.com/?mkt=en-gb
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Diff between URLConnection and HTTPClient
Posted by sebb <se...@gmail.com>.
I would say that they are now both equally stable.
The underlying HTTPClient code is more versatile, not least because it
comes with full source...
If there are any bugs in either, please raise a Bugzilla issue, and
we'll try to deal with it.
S.
On 26/09/06, R R <ra...@hotmail.co.uk> wrote:
> Hi,
>
> I am trying to do some customiations with the HTTP sampler.
>
> I would like to use the HTTPClient version as this looks easier to work with
> for the Body stuff I am trying to send.
>
> Is the HTTPClient sampler as stable as the Standard one? I found a issue
> when trying to use the Authorization Manager with the HTTPClient which does
> not happen with the Standard one. It could just be something funny with my
> env... but it just got me thinking I should check which is the better one to
> customise.
>
> Thanx
>
> R
>
> _________________________________________________________________
> Windows Live™ Messenger has arrived. Click here to download it for free!
> http://imagine-msn.com/messenger/launch80/?locale=en-gb
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org