Customer reported slow performance on an SSO enabled web site with embedded logon fields

  • 7940280
  • 19-Aug-2009
  • 24-Jan-2014

Environment

SecureLogin
SecureLogin SSO
All Versions

Situation

Issue

Customer reported poor performance on an SSO enabled web site with embedded logon fields. SecureLogin should not adversely affect the loading of web pages. In fact, logon to the web site should be much faster using SecureLogin.

SecureLogin can SSO enable web sites in a number of ways. The customer SSO enabled the site and found that although everything worked as expected, the site didn’t seem to load as quickly with SecureLogin active. The web page was extremely complex and made up of various frames and a lot of text.

Resolution

Cause

Since there are literally millions of web sites in the world, SecureLogin provides a number of ways to read text on web pages - namely the GetText/If method or the If -Text method.

If -Text is able to interrogate the frames/pages directly whilst GetText reads the text and copies it to a temporary variable to search through.

You should test which method is more suited to the web site you are enabling but the following information may assist in making your decision;

The GetText command;

  • Searches for all frames/pages that match the URL specified in the SSO application definition
  • Reads the text on the frames/pages (once) into memory as a temporary variable
  • Searches through the variable loaded in memory for text defined in the application definition (and not the page directly).

If -Text does the following;

  • Searches for the text specified in the If statement on all frames/pages that match the URL specified in the SSO application definition
  • Everytime an If -Text exists in the application definition, SecureLogin searches the frames/pages again
  • If you have a large number of text strings and a long application definition, If -Text may slow down the web page as it queries the page.

With some simple testing it is easy to establish the best method for enabling your web site to provide superior performance.

In this case the customer was using GetText and If statements when searching for text to act on when SSO enabling web pages as per the following section of the application connector (formerly called scripts).

 
GetText ?Text
If ""Login"" -In ?Text
Type $Username #1
Type $Password #2
Submit 
EndIf

Solution

The customer tested both GetText and If -Text and found If -Text provided superior performance for this web site but you should test both methods.

If -Text ""Login""
Type $Username #1 
Type $Password #2 
Submit 
EndIf

NOTE: GetText can also be used to search for case sensitivity.