Hi Michael,
the main problem is that the authentication is not working (getting an 401
error)
[invoke] INFO (org.apache.commons.httpclient.auth.AuthChallengeProcessor) -
ntlm authentication scheme selected
[invoke] INFO (org.apache.commons.httpclient.HttpMethodDirector) - No
credentials available for NTLM <any realm>@localhost:80
[invoke] INFO (com.gargoylesoftware.htmlunit.WebClient) - statusCode=[401]
contentType=[text/html]
I tried setting the CredentialsProvider with the following groovy script
<groovy>
def prov = new
com.gargoylesoftware.htmlunit.DefaultCredentialsProvider();
prov.addNTLMCredentials("xxx","yyy","",-1,"zzz","abc");
def webClient = step.context.webClient;
webClient.setCredentialsProvider(prov);
</groovy>
And get the following response:
[invoke] INFO (org.apache.commons.httpclient.auth.AuthChallengeProcessor) -
ntlm authentication scheme selected
[invoke] INFO (org.apache.commons.httpclient.HttpMethodDirector) - No
credentials available for NTLM <any realm>@localhost:80
[invoke] INFO (com.gargoylesoftware.htmlunit.WebClient) - statusCode=[401]
contentType=[text/html]
So is there anything else I can try?
Rainer
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael Habbert
Gesendet: Donnerstag, 18. Oktober 2007 07:59
An: [email protected]
Betreff: Re: [Webtest] NTML (integrated) Auth
Rainer Worbis wrote:
>
>
> Hi,
>
>
>
> I have an webapp to thest which runs within IIS70 and Integrated
> Authentifiction. I tried all the suggestions I found in the newsgroup
> but none of them did work. Does anyone know if this should work at all?
[...]
Why not? The webserver/applicationserver does'nt matter.
If your Web-application works for a browser it should also work with webtest.
But anyway what is the
problem you are facing?
--
Mit freundlichen Grüßen
Michael Habbert
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest