You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2010/07/16 11:55:22 UTC

DO NOT REPLY [Bug 49601] New: NTLM Auth problem

https://issues.apache.org/bugzilla/show_bug.cgi?id=49601

           Summary: NTLM Auth problem
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: jiri.gabrys@gmail.com


Created an attachment (id=25767)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25767)
Test plan

When trying to login to our application with JMeter I receive authentication
failure with :


2010/07/16 11:39:48 DEBUG - org.apache.commons.httpclient.HttpMethodDirector:
Authorization required 
2010/07/16 11:39:48 DEBUG - org.apache.commons.httpclient.HttpMethodDirector:
enter HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection) 
2010/07/16 11:39:48 DEBUG -
org.apache.commons.httpclient.auth.AuthChallengeProcessor: Using authentication
scheme: ntlm 
2010/07/16 11:39:48 DEBUG -
org.apache.commons.httpclient.auth.AuthChallengeProcessor: Authorization
challenge processed 
2010/07/16 11:39:48 DEBUG - org.apache.commons.httpclient.HttpMethodDirector:
Authentication scope: NTLM <any realm>@localhost:8080 
2010/07/16 11:39:48 DEBUG - org.apache.commons.httpclient.HttpMethodDirector:
Credentials required 
2010/07/16 11:39:48 DEBUG - org.apache.commons.httpclient.HttpMethodDirector:
Credentials provider not available 
2010/07/16 11:39:48 INFO  - org.apache.commons.httpclient.HttpMethodDirector:
Failure authenticating with NTLM <any realm>@localhost:8080 


I can successfully login with test app using commons-httpclient3 with same
credentials.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 49601] NTLM Auth problem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49601

--- Comment #1 from Bruno Antunes <br...@gmail.com> 2010-08-03 09:31:31 EDT ---
This happens only with the Sampler "HTTP Request" that is using HTTPClient. We
can use the default that does not use HTTPClient

Assuming that we are using proxy configurations that require NTLM
authentication, when using the Sampler "HTTP Request HTTPClient", try:

* set jmeter property "httpclient.localaddress" with your localhostname. This
seems to be case sensitive.
* set jmeter property "http.proxyDomain"

The code in JMeter can be found in class
org.apache.jmeter.protocol.http.sampler.HTTPSampler2

However with this setting i stiil have problems with Sampler using HTTPClient,
and NTLM proxy authentication. 

For the momemnt, use the default Sampler for "HTTP Request" that is not using
HTTPClient

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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