[Webtest] How does HTTPUnit Authenticate Users under the covers?

Dierk Koenig webtest@lists.canoo.com
Tue, 15 Oct 2002 16:11:44 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C27465.8DFFB6A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

RE: [Webtest] Support for uploading a file?Hi Eric,

The dynamic property stuff is about finding the right property when
being e.g. in a repeat step. It is not about authentication.

Authentication is relayed to HttpUnit, that in turn uses
JRE features. The JDK documentation contains some
info about that rather unobvious topic.

cheers
Mittie
  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of EPugh@upstate.com
  Sent: Donnerstag, 10. Oktober 2002 20:38
  To: webtest@lists.canoo.com
  Subject: [Webtest] How does HTTPUnit Authenticate Users under the covers?


  Hi all,

  [Pugh, Eric] I am trying to get httpunit to do my testing for the file
upload stuff, and now I am hung up on trying to figure out how to do basic
authentication..  WebTest does it, but I am not seeing how, something about
dynamic properties?

  Eric Pugh

------=_NextPart_000_0008_01C27465.8DFFB6A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [Webtest] Support for uploading a file?</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D980010714-15102002>Hi=20
Eric,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D980010714-15102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D980010714-15102002>The=20
dynamic property stuff is about finding the right property=20
when</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D980010714-15102002>being=20
e.g. in a repeat step. It is not about =
authentication.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D980010714-15102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D980010714-15102002>Authentication is relayed to HttpUnit, that =
in turn=20
uses </SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D980010714-15102002>JRE=20
features. The JDK documentation contains some</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D980010714-15102002>info=20
about that rather unobvious topic.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D980010714-15102002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D980010714-15102002>cheers</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D980010714-15102002>Mittie</SPAN></FONT></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>EPugh@upstate.com<BR><B>Sent:</B> Donnerstag, 10. =
Oktober 2002=20
  20:38<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest] How=20
  does HTTPUnit Authenticate Users under the =
covers?<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D306033818-10102002><FONT face=3DArial =
color=3D#0000ff size=3D2>Hi=20
  all,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D306033818-10102002><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D306033818-10102002></SPAN><FONT face=3DArial><FONT=20
  color=3D#0000ff><FONT size=3D2><SPAN class=3D306033818-10102002>[Pugh, =
Eric]&nbsp;I=20
  am trying to get httpunit to do my&nbsp;testing for the file upload =
stuff, and=20
  now I am hung up on trying to&nbsp;figure out&nbsp;how to do basic=20
  authentication..&nbsp; WebTest does it, but I am not seeing how, =
something=20
  about dynamic properties?</SPAN></FONT></FONT></FONT></DIV>
  <DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
  class=3D306033818-10102002></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
  class=3D306033818-10102002>Eric Pugh&nbsp;</SPAN><SPAN=20
  =
class=3D306033818-10102002>&nbsp;</SPAN></FONT></FONT></FONT></DIV></BLOC=
KQUOTE></BODY></HTML>

------=_NextPart_000_0008_01C27465.8DFFB6A0--