Hello,
I'm creating a script with jmeter 2.11 for a web application using SSO with
NTLM (Web server IIS 7.5).
I have a problem whith recording the script. When I start the recorder and
navigate to the homepage of the application the Login screen pops-up but
logging in doesn't work. And the page returns an authentication error.
I've tried using HttpClient4 and HttpClient3.1 settings in the recorder
without success, using the Java I can record the application but the
authentication is skipped.
Looking in the JMeter log I see:
2014/05/21 09:02:56 INFO -
org.apache.commons.httpclient.auth.AuthChallengeProcessor: ntlm
authentication scheme selected
2014/05/21 09:02:56 INFO -
org.apache.commons.httpclient.HttpMethodDirector: No credentials available
for NTLM <any realm>@<ServerName>:80
2014/05/21 09:02:56 WARN -
org.apache.commons.httpclient.HttpMethodDirector: Unable to respond to any
of these challenges: {negotiate=Negotiate
oXkwd6ADCgEBoQsGCSqGSIL3EgECAqJjBGFgXwYJKoZIhvcSAQICAwB+UDBOoAMCAQWhAwIBHqQRGA8yMDE0MDUyMTA3MDI1NlqlBQIDB9aipgMCASmpBxsFQU0uTFWqGjAYoAMCAQGhETAPGw1hZG1pbmlzdHJhdG9y}
When I enable more logging from the HTTPClient I see:
2014/05/21 11:23:05 DEBUG -
org.apache.commons.httpclient.HttpMethodDirector: Authorization required
2014/05/21 11:23:05 DEBUG -
org.apache.commons.httpclient.HttpMethodDirector: enter
HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)
2014/05/21 11:23:05 DEBUG -
org.apache.commons.httpclient.auth.AuthChallengeProcessor: Supported
authentication schemes in the order of preference: [ntlm, digest, basic]
2014/05/21 11:23:05 INFO -
org.apache.commons.httpclient.auth.AuthChallengeProcessor: ntlm
authentication scheme selected
2014/05/21 11:23:05 DEBUG -
org.apache.commons.httpclient.auth.AuthChallengeProcessor: Using
authentication scheme: ntlm
2014/05/21 11:23:05 DEBUG -
org.apache.commons.httpclient.auth.AuthChallengeProcessor: Authorization
challenge processed
2014/05/21 11:23:05 DEBUG -
org.apache.commons.httpclient.HttpMethodDirector: Authentication scope:
NTLM <any realm>@<Server>:80
2014/05/21 11:23:05 DEBUG - org.apache.commons.httpclient.HttpState: enter
HttpState.getCredentials(AuthScope)
2014/05/21 11:23:05 DEBUG -
org.apache.commons.httpclient.HttpMethodDirector: Credentials required
2014/05/21 11:23:05 DEBUG -
org.apache.commons.httpclient.HttpMethodDirector: Credentials provider not
available
2014/05/21 11:23:05 INFO -
org.apache.commons.httpclient.HttpMethodDirector: No credentials available
for NTLM <any realm>@<Server>:80
I have succesfully used the NTLM authentication before in other projects
without problems, now I'm really stuck with this problem.
Can anybody help me with finding a solution?
Many thanks,
Jan