jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Korny Sietsma" <ko...@sietsma.com>
Subject Re: passing proxy password to HttpClient
Date Wed, 05 Apr 2006 00:01:51 GMT

I don't have an Auth manager - I thought that was for authentication
within target applications, not at the proxy level?
I tried adding one, with a variety of differnt URLs, and it made no
difference.

There are no unusual messages in jmeter.log - in fact none at all between:
2006/04/05 09:52:15 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 started
2006/04/05 09:52:15 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 is done

I am running Jmeter 2.1.1

Note as I mentioned below that the normal http request works fine, it's
just the HttpClient one that isn't working.  Very strange.

In case it helps, the Sampler Result is as follows:
--------------------------------------------
Load time: 0
HTTP response code: 407
HTTP response message: Proxy Authentication Required

HTTP response headers:
HTTP/1.1 407 Proxy Authentication Required
Date: Tue, 04 Apr 2006 23:59:40 GMT
Content-Length: 257
Content-Type: text/html
Server: NetCache appliance (NetApp/5.5R5D5)
Proxy-Connection: close
Proxy-Authenticate: Basic realm="Sensis Internet Access"
--------------------------------------------

- Korny

On 4/4/2006, "sebb" <sebbaz@gmail.com> wrote:

>That should work. Do you have an HTTP Auth Manager in the plan?
>
>Are there any messages in jmeter.log?
>
>Which version of JMeter?
>
>S.
>On 04/04/06, Kornelis Sietsma <korny@sietsma.com> wrote:
>> Hi - I can't find this anywhere in the docs...
>> I want to use a HttpClient HTTP Request, using a proxy server with
>> username/password authentication.
>> I'm running jmeter with the parameters "-H [host] -P [port] -u
>> [username] -p [password]" as specified.
>> Whenever I use the HttpClient version of the Http Request sampler I get:
>>  407 Proxy Authentication Required
>>
>> If I use the original HTTP Request sampler, the proxy authentication
>> works fine - unfortunately I have a pile of tests using the new
>> HttpClient one, and changing back to the old sampler will require quite
>> a bit of effort...
>>
>> Any thoughts?
>>
>> - Korny
>>
>> --
>> Kornelis Sietsma e-mail: korny at my surname dot com
>>
>>
>> ---------------------------------------------------------------------
>> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message