[Webtest] Oracle SSO

MELVIN CHEE webtest@lists.canoo.com
Fri, 7 Jul 2006 10:30:11 +0100 (BST)


--0-713749381-1152264611=:67140
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


Hi gurus,
  
I intend to test my j2ee application with Webtest. The 
application is deployed on a Oracle 10g Application Server. 
   
  All users need to login via Oracle Single-Sign On. I hit a brick
wall when I discovered that Oracle Single-Sign uses several
redirections and cookie injections to authenticate users.
  I have found a article describing how to "follow" the redirections
using httpunit. 
  
See http://www.fm-berger.de/ora_webtest/ch06.php
   
  As you can see Oracle uses a lot of page redirects as well as 
cookies to handle SSO. However, I am not sure how the same
can be done with Webtest.
  My webtest script keep returning with a 401 error when i reference
the first page of my application. In a typical user scenario,
the browser will be redirected to the Oracle SSO Login page first.
  I suspect that Webtest stalled at the login page.
   
  The Webtest script always stall when it is trying to establish the
connection to the deployed application (the waitfor tag).
I am never able to reach the first webtest case.
   
  Any ideas guys?

   

 		
---------------------------------
 Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail.
--0-713749381-1152264611=:67140
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div><BR>Hi gurus,</div>  <div><BR>I intend to test my j2ee application with Webtest. The <BR>application is deployed on a Oracle 10g Application Server. </div>  <div>&nbsp;</div>  <div>All users need to login via Oracle Single-Sign On. I hit a brick<BR>wall when I discovered that Oracle Single-Sign uses several<BR>redirections and cookie injections to authenticate users.</div>  <div>I have found a article describing how to "follow" the redirections<BR>using httpunit. </div>  <div><BR>See <A href="http://www.fm-berger.de/ora_webtest/ch06.php">http://www.fm-berger.de/ora_webtest/ch06.php</A></div>  <div>&nbsp;</div>  <div>As you can see Oracle uses a lot of page redirects as well as <BR>cookies to handle SSO. However, I am not sure how the same<BR>can be done with Webtest.</div>  <div>My webtest script keep returning with a 401 error when i reference<BR>the first page of my application. In a typical user scenario,<BR>the browser will be redirected to the Oracle SSO Login
 page first.</div>  <div>I suspect that Webtest stalled at the login page.</div>  <div>&nbsp;</div>  <div>The Webtest script always stall when it is trying to establish the<BR>connection to the deployed application (the waitfor tag).<BR>I am never able to reach the first webtest case.</div>  <div>&nbsp;</div>  <div>Any ideas guys?<BR></div>  <div>&nbsp;</div><p>&#32;
		<hr size=1> 
Now you can <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/reading_pane/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">scan emails quickly with a reading pane</a>. Get the new <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/reading_pane/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">Yahoo! Mail</a>.
--0-713749381-1152264611=:67140--