[Webtest] Authorization Issues

Dierk Koenig webtest@lists.canoo.com
Wed, 14 Jan 2004 09:43:28 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_004E_01C3DA82.DCD50EE0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: 7bit

tricky with the javascript. Are you talking about server-side javascript?

You may need to directly invoke the urls when using Canoo WebTest.

cheers
Mittie

  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of sunshuli
  Sent: Mittwoch, 14. Januar 2004 1:58
  To: webtest@lists.canoo.com
  Subject: [Webtest] Authorization Issues


  Hi,

  We are trying to test our Portnet Application System with canoo.

  Currently, the problem we encountered is that we cannot login successfully
with the username/password passed in the login.fcc in the test scripts
created with canoo. The response page is always the login page.

  The mechanism of our Portnet System login is described as the followings:

  1. The login page is named "login.fcc", it is tally with SiteMinder, for
that the username and password passed in the login.fcc will be authenticated
by SiteMinder. In login.fcc, java script is invoked to return the
authentication result by SiteMinder.
  1) If the authentication is passed, the method of java script will return
the final definited URL that we will use to login.fcc.
  2) If the authentication is failed, the method of java scrip will return
false, we will stay at the login page.

  2. The login pages (login.fcc, java script....) are deployed in the web
server (iPlanet Webserver), the applications including the final definited
URL above mentioned are deployed in the application server (iPlanet iAS
6.0).

  We are not sure:

  1. Can canoo get the authentication result returned by SiteMinder?
  2. Can canoo lookup the URL above mentioned in the application server
(separated with the web server)?

  Thanks and Regards.
  Sun Shu Li
  E-mail : sunshuli@bhr.com.cn

------=_NextPart_000_004E_01C3DA82.DCD50EE0
Content-Type: text/html;
	charset="gb2312"
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=3Dgb2312">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D010463808-14012004><FONT face=3DArial color=3D#0000ff =
size=3D2>tricky=20
with the javascript. Are you talking about server-side=20
javascript?</FONT></SPAN></DIV>
<DIV><SPAN class=3D010463808-14012004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D010463808-14012004><FONT face=3DArial color=3D#0000ff =
size=3D2>You=20
may need to directly invoke the urls when using Canoo=20
WebTest.</FONT></SPAN></DIV>
<DIV><SPAN class=3D010463808-14012004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D010463808-14012004><FONT face=3DArial color=3D#0000ff =

size=3D2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=3D010463808-14012004><FONT face=3DArial color=3D#0000ff =

size=3D2>Mittie</FONT></SPAN></DIV>
<DIV><SPAN class=3D010463808-14012004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</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>sunshuli<BR><B>Sent:</B> Mittwoch, 14. Januar 2004=20
  1:58<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest]=20
  Authorization Issues<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT color=3D#000000>
  <DIV><SPAN class=3D190581305-12012004>
  <DIV><SPAN class=3D604480003-25122003><FONT =
face=3DArial>Hi,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D604480003-25122003><FONT=20
  face=3DArial></FONT></SPAN></SPAN>&nbsp;</DIV></DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT face=3DArial>We&nbsp;are =
trying to=20
  test our Portnet Application System with canoo.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT=20
face=3DArial></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN =
class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New =
Roman'">Currently,=20
  the problem we encountered&nbsp;is that we cannot login successfully =
with the=20
  username/password passed in the login.fcc in the test scripts created =
with=20
  canoo. The response page is always the login=20
  page.</SPAN></SPAN></SPAN></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT=20
face=3DArial></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT face=3DArial>The mechanism =
of our=20
  Portnet System login is described as the =
followings:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT=20
face=3DArial></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT face=3DArial>1. The login =
page is=20
  named "login.fcc", it is tally with SiteMinder, for that the username =
and=20
  password passed in the login.fcc will be authenticated by SiteMinder. =
In=20
  login.fcc, java script is invoked to return the authentication result =
by=20
  SiteMinder.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT face=3DArial>1) =
If&nbsp;the=20
  authentication is passed, the method of java script will return the =
final=20
  definited&nbsp;URL&nbsp;that we will use to =
login.fcc.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT face=3DArial>2) If the =
authentication=20
  is failed, the method of java scrip will return false, we will stay at =
the=20
  login page.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT=20
face=3DArial></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D190581305-12012004><FONT face=3DArial>2. The login =
pages=20
  (login.fcc, java script....) are deployed in the web server (<SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New =
Roman'">iPlanet=20
  Webserver), the applications including the&nbsp;final definited URL =
above=20
  mentioned&nbsp;are deployed in the application server (<SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New =
Roman'">iPlanet=20
  iAS 6.0).</SPAN></SPAN></FONT></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><FONT =

  face=3DArial></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">We=20
  are not sure:</SPAN></SPAN></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><FONT =

  face=3DArial></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New =
Roman'">1.&nbsp;Can=20
  canoo&nbsp;get the authentication result returned by=20
  SiteMinder?</SPAN></SPAN></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">2.=20
  Can canoo lookup the URL above mentioned in the application server =
(separated=20
  with the web server)?</SPAN></SPAN></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><FONT =

  face=3DArial></FONT></SPAN></SPAN></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New =
Roman'">Thanks=20
  and Regards.</SPAN></SPAN></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'">Sun=20
  Shu Li</SPAN></SPAN></SPAN></DIV>
  <DIV><SPAN class=3D190581305-12012004><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><SPAN =

  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: =
=CB=CE=CC=E5; mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New =
Roman'">E-mail=20
  : <A=20
  =
href=3D"mailto:sunshuli@bhr.com.cn">sunshuli@bhr.com.cn</A></SPAN></SPAN>=
</SPAN></DIV></FONT></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_004E_01C3DA82.DCD50EE0--