Protocol Troubleshooting and Limitations

This section describes troubleshooting and limitations for TruClient scripts.

TruClient for Chromium

  • When accessing HTTP/2 web pages in Chromium, the replay log displays HTTP/1.1 in the HTTP response header.

  • The Minimum supported secure protocol setting in TruClient General Settings > Browser Settings is not supported. TruClient Chromium always chooses the most secure protocol supported by both Chromium and the web server under test.

  • Chromium cannot record inside dynamic iframes.

  • Uploading to SharePoint fails for some files.

  • Global variable cannot be used in steps in Chromium.

    For example, this does not work:

    Step 1: Evaluate JavaScript code Global.myserver = "https://myserver.mycompany.com";

    Step 2: Navigate to Global.myserver

Back to top

TruClient—Internet Explorer (IE) Protocol

  • When accessing HTTP/2 web pages in IE, the replay log displays HTTP/1.1 in the HTTP response header.

  • If you are running TruClient on a Windows Server machine, you must turn off IE Enhanced Security by selecting Server Manager > Configure IE ESC to record and replay scripts on your machine.

  • If you have trouble opening TruClient IE, you may need to disable User Account Controls (UAC) completely. Disable UAC from the Control Panel and also set the EnableLUA registry key to 0.

    The registry path for EnableLUA is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA

  • If you recorded <Click link> + Shift in your script, it will not activate a new browser tab during replay.
  • If you have recorded a script in Firefox or Chromium that includes a step to open a second browser window, the script will fail on that step if you replay it in IE.

    To replay the script successfully in IE, add an If Browser step with a clause to activate a tab for the IE browser.

    The example below illustrates this implementation of the If Browser step.

  • If all steps are not correctly generated after recording a script, the problem may be due to the Windows Component > Internet Explorer Enhanced Security Configuration.

    Remove Internet Explorer Enhanced Security Configuration by selecting Control Panel > Add or Remove Programs > Add or Remove Windows Components and rerecord your script.

  • If Nvidia shim drivers are installed, TruClient IE might behave unexpectedly.

    • Enusre that Nvd3d9wrap.dll is not loaded with TruClient IE using third—party tools such as process explorer by SysInternalsl Nvd3d9wrap.dll.If Nvd3d9wrap.dll is installed, either uninstall the driver or rename the file and restart TruClient IE.
    • After the uninstall is completed, remove all dlls named nvinit.dll from the following registries:

      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs]

      [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs]

  • window.location cannot be used with Internet Explorer. Use document.URL instead.
  • Flash, Silverlight, ActiveX not supported

    User actions on UI elements that are based on Flash, Silverlight, ActiveX in general and Java applets technologies are currently not recorded and replayed.

  • McAfee Antivirus causes Vusers to stop running in Load ModeI.

    Newer versions of McAfee Antivirus may cause network hook collision with the TruClient for IE protocol. You may experience unexpected behavior during load. For example, some of your Vusers may stop running. As a result, an error message will appear in the Controller > Scenario Status > Errors pane and the Vuser status displays as Failed

    To resolve, add the TcWebIELauncher.exe to the McAfee exclusion list.

Back to top

Internet Explorer Limitations using TruClient for VuGen

  • The TruClient—IE protocol does not support Diagnostics for J2EE/.NET.
  • When recording a script in TruClient—IE protocol, a keyboard event together with the Ctrl key is not supported and therefore not recorded.
  • When using a script recorded with TruClient IE and replaying it on Internet Explorer 11, the number of connections measurement will not be available in Controller and Analysis.

  • TruClient—IE protocol requires Internet Explorer 10 or 11 to be installed on the load generator.
  • TruClient supports only Internet Explorer 10 or 11 Standards mode.

  • While the script is running and the application calls cross domain data sources, it may cause the script to hang due to security pop-up launched by browser.

Back to top

TruClient—Firefox Protocol with VuGen

  • Security warning dialog boxes are not displayed in TruClient during script development.
  • If you encounter problems when running TruClient—Firefox Vusers in load mode, modify the Pacing settings (Replay > Run-time Settings > General > Pacing) as follows: Select either After the previous iteration ends, or At <fixed/random> intervals.
  • The TruClient—Firefox protocol can only be used with applications that support the Mozilla Firefox browser.
  • TruClient—Firefox does not support Kerberos authentication. If the server also supports NTLM, TruClient will automatically move the authentication to NTLM and continue working.
  • If you select Run-time Settings > General > Log > Extended log and check Log HTTP request headers and Log HTTP response headers part of the request headers will be missing from the replay log.

Back to top

Other Protocol Limitations

  • When you view Web page component breakdown graphs for TruClient Vusers, TruClient measurements might not be available or might be less accurate than those of other protocols. For example the Time to First Buffer Breakdown graph, and measurements such as SSL Handshake, and Client/Error Time might not be available.
  • TruClient is a UI based protocol therefore while running a TruClient script in Controller you might encounter an exception: "Failed to Initialize. Reason TimeOut". It is recommend to increase the Init time out. (Controller > Tools > Options)to provide the Vusers with additional time to finalize the initialization stage.

  • TruClient does not support closing dialog boxes opened by user code written in an Evaluate JavaScript step (e.g. window.alert(“my alert”);)
  • After opening TruClient by clicking Develop Script, and subsequently closing it, VuGen may still display the yellow banner of Develop mode.

    Workaround: If working with a proxy, you must specify "bypass local connections". If working with a PAC file, the PAC must specify a direct connection for 127.0.0.1

  • If you edit a TruClient script using a later version of LoadRunner than the one on which you recorded the script, it may fail to replay in some cases.
    Before modifying the script, save a backup copy of the script.

    Workaround: If the replay fails, rerecord the script using the latest version of the TruClient protocol.

  • TruClient will not record "mouse overs" when the element has a CSS rule of "Mouse Hover".

    Workaround: Instead of mouse hovering, click the elements to open the drop down (the clicks are recorded).

  • Java applets and Silverlight not supported for TruClient FF.

    User actions on UI elements that are based on Java applets and Silverlight technologies are currently not supported for record and replay.

  • In the default Run Block, you cannot set the mode to Random as you can in VuGen UI.

  • Some error messages may not be localized.

Back to top