Hi,
I don't personnaly use HTTPS so much when testing applications but it should
work. Cookies are handled internally by httpclient, and you can set user
credentials depending on the method used: for BASIC and DIGEST use
getTestContext().setUsername/password
For FORM authentication you just can fill the form with setTextField and submit.
Regards,
Julien
----- Message d'origine ----
De : Lalit Ruchandani <[EMAIL PROTECTED]>
À : jwebunit-users@lists.sourceforge.net
Envoyé le : Jeudi, 29 Mai 2008, 19h04mn 30s
Objet : [JWebUnit-users] Can I use jWebUnit for testing SSO Flow
Hello All,
Can I use jWebUnit for HTTPS ?
Can i asset cookies in jWebUnit.
I have to test and SSO flow.It is as follows
1st leg of Request
1) Click on a protected link
2) The browser is redirected to a login Url at identityprovider on HTTPs
3) enter user credentials,set session cookie
4) the browser in redirected to authentication page
2nd leg of request
1) Click on another protected link
2) The session cookies is checked
3) cookie present, allow user to access protected resource
can anyone please let me know if its possible to test this flow with jWebUnit
Thanks
Lalit
__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible
contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JWebUnit-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users