[Webtest] NTLM authentication and htmlunit 1.9
Dierk Koenig
webtest@lists.canoo.com
Wed, 12 Jul 2006 08:30:10 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0014_01C6A58D.63AFDF80
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi Michael,
how does your Groovy step look like?
cheers
Mittie
-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Michael Dunn
Sent: Mittwoch, 12. Juli 2006 0:28
To: webtest@lists.canoo.com
Subject: [Webtest] NTLM authentication and htmlunit 1.9
i see that the new version of webtest (R_1354) includes a new version of
htmlunit (1.9) where marc did some work on extending
DefaultCredentialsProvider to include setting NTLM credentials. does anyone
know how one would utilize this in webtest to login to a NTLM authenticated
webpage?
i have installed R_1354 and have tried setting the credentials in a groovy
step as well as just passing in the username and password in the invoke
statement. neither of which worked for me. any ideas?
later,
mikey
Michael Dunn
Product Test Manager
Adaptis
206 342 7478
------=_NextPart_000_0014_01C6A58D.63AFDF80
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2912" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D939491806-12072006><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
Michael,</FONT></SPAN></DIV>
<DIV><SPAN class=3D939491806-12072006><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D939491806-12072006><FONT face=3DArial color=3D#0000ff =
size=3D2>how=20
does your Groovy step look like?</FONT></SPAN></DIV>
<DIV><SPAN class=3D939491806-12072006><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D939491806-12072006><FONT face=3DArial color=3D#0000ff =
size=3D2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=3D939491806-12072006><FONT face=3DArial color=3D#0000ff =
size=3D2>Mittie</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B>=20
webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
Behalf Of </B>Michael Dunn<BR><B>Sent:</B> Mittwoch, 12. Juli 2006=20
0:28<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest] NTLM=20
authentication and htmlunit 1.9<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D256112222-11072006>i =
see that the new=20
version of webtest (R_1354) includes a new version of htmlunit (1.9) =
where=20
marc did some work on extending DefaultCredentialsProvider to include =
setting=20
NTLM credentials. does anyone know how one would utilize this in =
webtest to=20
login to a NTLM authenticated webpage?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D256112222-11072006></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D256112222-11072006>i =
have installed=20
R_1354 and have tried setting the credentials in a groovy step as well =
as just=20
passing in the username and password in the invoke statement. neither =
of which=20
worked for me. any ideas?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D256112222-11072006></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D256112222-11072006>later,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D256112222-11072006>mikey</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<P align=3Dleft><FONT size=3D2><FONT face=3DArial><FONT =
color=3D#008080>Michael=20
Dunn</FONT> <BR></FONT></FONT><FONT size=3D2><FONT face=3DArial><FONT=20
color=3D#008080>Product Test Manager</FONT> <BR><FONT=20
color=3D#008080>Adaptis</FONT> <BR><FONT color=3D#008080>206 342=20
7478</FONT></FONT></FONT> </P>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0014_01C6A58D.63AFDF80--