<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>            Thanks Ralph and Larry – if either
of you can share an example script that would be great.  We are using
Siteminder for our SSO here so it sounds like it may be easy to steal, er,
borrow, what you have to get it working.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ralph Mitchell
[mailto:ralphmitchell@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, June 21, 2006
11:00 PM<br>
<b><span style='font-weight:bold'>To:</span></b> hobbit@hswn.dk<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [hobbit] Using post
to test user login</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>I've been doing exactly
that for years, with Big Brother scripts.  As such, it's all in Bourne
shell, using curl to fetch web pages, grepping for the interesting bits, then
using curl again to post the pages back.  Some of the scripts grind right
through the Siteminder login process, which bounces you from the original
server to the authenticating server, then back again.  Curl handles the
redirects just fine.  It also deals with SSL on secure web servers. <br>
<br>
If you're interested, I can see about stripping out the company specific stuff
from one of them, so you can see how it works.  There should be no problem
integrating with Hobbit.<br>
<br>
OK, so it's not Python or Perl, but it was what I had to work with 6 years ago
when I started.  I keep telling myself that when the rush dies down I'll
see about converting to Python... <br>
<br>
Ralph Mitchell<br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 6/21/06, <b><span style='font-weight:bold'>Maschino,
Shawn (GE Indust, Plastics)</span></b> <<a
href="mailto:Shawn.Maschino@ge.com">Shawn.Maschino@ge.com</a>> wrote: </span></font></span><o:p></o:p></p>

<div>

<div link=blue vlink=purple>

<div>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>           
Hi all – I ran into a challenge and was wondering if anyone else had seen it
and found a workaround.  I'd like to use the "post" function of
the HTTP test to verify a web page that does user authentication for an application. 
The way the login works is:</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>

<p style='margin-left:.75in;text-indent:-.25in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>-</span></font><font size=1><span
style='font-size:7.5pt'>          </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>User enters
login details on a web form</span></font><o:p></o:p></p>

<p style='margin-left:.75in;text-indent:-.25in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>-</span></font><font size=1><span
style='font-size:7.5pt'>          </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>The user is
sent to a "middle" page while authentication is done</span></font><o:p></o:p></p>

<p style='margin-left:.75in;text-indent:-.25in'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>-</span></font><font size=1><span
style='font-size:7.5pt'>          </span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>If
authentication is successful they are redirected into the web application,
otherwise they redirect to an error page</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>

<p style='text-indent:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>When using the post check I can only get to that
middle page, which doesn't tell me if authentication was correct or not. 
The reason for the middle page is that this web site is using SSO
authentication against an external LDAP system<font color=navy><span
style='color:navy'>.  </span></font>We'd need to be able to get to the
page that the redirect pushes to.  Does anyone know if there is a way
around this?  My first impressions would be no, but I thought it wouldn't
hurt (too much!) to<font color=navy><span style='color:navy'> </span></font>ask.
</span></font><o:p></o:p></p>

<p style='text-indent:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>

<p style='text-indent:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'>Thanks!</span></font><o:p></o:p></p>

<p style='text-indent:.5in'><font size=2 face=Arial><span style='font-size:
10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Shawn</span></font><o:p></o:p></p>

</div>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>