Client certificate suppression in TruClient IE protocol in LoadRunner 11.52

  • KM00841754
  • 14-Apr-2014
  • 23-Jul-2014

Summary

A Client certificate (CC) pop up appears in TruClient Internet Explorer protocol script in LoadRunner 11.52 although sometimes no CC is needed. A fix is provided which enables the pop up to be suppressed and enabled.

Question

Sometimes Internet Explorer engine shows client certificate (CC) pop up although no CC is needed which could interfere TruClient Internet Explorer protocol script recording.  

How to suppress the client certificate pop up when it is not needed?

Answer

A fix is provided which enables the pop up behavior to be controlled in VuGen 11.52 by a key configuration.

The key will allow the pop up to be suppressed in the cases when the web page does not require a client certificate and to be enabled back when it is needed by re-configuring the key.

To suppress the Client certificate (CC) dialog pop up please follow the steps listed below: 

  1.  Apply the supportClientCertLR11.52.zip fix on the VuGen machine and all load generators
    1. Go to <LoadRunner installation folder>\bin folder  and backup the original files:
      LrWebIEInfraServices.dll
      LrWebIEInternetProtocols.dll
    2. Unzip supportClientCertLR11.52.zip and replace the above files with the files from the hotfix.
  2. Make the following configuration change:
    1. Open file: %APPDATA%Hewlett-Packard\TruClient\WebIE\tcwebIE_browser_master_prefs.json file and
    2. add the following section to the JSON file:
      "SupreesClientCertDialog": {
      "value": 1
      }
      By setting "value": 1 CC dialog pop up will be suppressed.

Please note that:

  1. The configuration change will affect all the scripts that will be recorded in the browser until the settings is changed.
  2. Once the configuration is made it will be saved in the script level automatically and during a load test it will be passed to the load generators.

To enable the Client certificate (CC) dialog pop up the value of SupreesClientCertDialog key should be re-configured as follows:

  1. Open file: %APPDATA%Hewlett-Packard\TruClient\WebIE\tcwebIE_browser_master_prefs.json file
  2. Find the SupreesClientCertDialog section in the JSON file and change the value to 0 (do not suppress).

"SupreesClientCertDialog": {
"value": 0
}

Related articles that may be of interest:

Document ID KM00867636 - Client certificate suppression in TruClient IE protocol in LoadRunner 12.00