[Webtest] RE: RE: RE: problem with NT authentication
Tue, 25 Apr 2006 01:09:02 -0700 (PDT)
Webtest doesn't set a new CredentialProvider at it knows that the default
one is ok and just "fill" it.
Can you try to change your htmlunit test to use the same logic to check that
it still work?
What is really strange is that the credentials seem to be found but not
correct. I could understand that it comes from the fact the NTCredentials
are expected but why isn't it the case when you test directly with htmlunit.
Can you try to put your htmlunit code that seem to work directly in webtest
for instance with a Groovy step before the request to the restricted page:
def prov = new com.gargoylesoftware.htmlunit.DefaultCredentialsProvider();
def webClient = step.context.webClient
View this message in context: http://www.nabble.com/RE%3A-RE%3A-RE%3A-problem-with-NT-authentication-t1488973.html#a4078243
Sent from the WebTest forum at Nabble.com.