TruClient for IE simulates the functionality of an IE (Internet Explorer) browser. This enables you to record and replay scripts as if you were working in an IE environment.
For details on IE document and browser modes, see Browser modes.
Note: If you are unable to start an IE browser from VuGen or when the script is running in load mode, try running VuGen as administrator. If that does not work, check you have the correct registry permissions (see Unable to start IE browser).
TruClient for IE cache management
When you replay a script in the TruClient for IE browser, TruClient simulates real life IE cache behavior. This means, if the script uses the same resources multiple times in the same iteration or in case "Simulate New User for each iteration" is disabled, TruClient for IE uses the cached resources instead of sending additional requests to the server.
Use the IE Cache Enabler tool to implement the IE cache simulation mechanism on every load generator, Controller or BPM agent machine that runs TruClient IE scripts.
From <Installation folder\bin> run HPETruClientIECacheEnabler.exe.
You will be prompted for an administrative user-name and password.
Select one of the following from the dialog box:
Action Description Enable IE Cache
Enables the IE Cache Simulation
If you enable the cache simulation, you must run Disable the IE Cache before uninstalling TruClient.
Disable IE Cache
Disables the IE Cache Simulation
Caution: You must run Disable the IE Cache mechanism before uninstalling TruClient.
Note: When opening TruClient IE from VuGen or as a standalone, TruClient will use the System cache folder for saving resources.
- TruClient for IE cache simulation might fail if a Microsoft IE browser window is open.
- TruClient for IE does not support
AppCachecache separation for virtual users.
For details on Firebug Lite's features, see What is Firebug?
Enforce Standards Mode
TruClient for IE can only record and replay applications in Standards Mode. TruClient enforces this mode on all pages that you navigate to while you are recording and replaying.
To explore how pages are rendered in a non-standard IE mode, you can temporarily deactivate enforcement by deselecting Advanced > Enforce Standards Mode. When deselected the following message appears in the Development Window:
While in the mode you will not be able to develop or edit scripts in the TruClient IE browser. Click the Enforce button in the message box or select Advanced > Enforce Standards Mode, to continue recording and replaying in the TruClient for IE browser.
TruClient for IE enables you to record and replay the selection of multiple files for upload.
The step shows all of the selected files in the Arguments section under the Path property, with the file names separated by a comma ",":
Enable the negotiate method for authentication
If your application server supports only the negotiate method for authentication (the HTTP response is with "HTTP/1.1 401 Unauthorized" and "WWW-Authenticate: Negotiate"), you must enable the negotiate option. To do so:
Open the registry setting HKEY_CURRENT_USER\Software\Hewlett-Packard\TruClient\TruClientIE\TCWindows\CurrentVersion\Internet Settings.
Change the value of the EnableNegotiate registry key from "0" to "1".
To display Internet Explorer log messages during replay, click the Console button in the Development window toolbar, or select View > Toolbars and Docking Windows > Console.
You can display a Favicon (the icon that represents the website) in the address bar of the application browser. To do so, select View > Display Favicons. Your choice is saved for future scripts.
Limitations of the TruClient for IE browser
If you are using Windows 10 and you launch the TruClient for IE browser, the system's proxy settings are changed to the settings specified in TruClient for IE (the TruClient for IE proxy settings are used if you open Internet Explorer or other applications which use the network connection).
When you exit TruClient for IE, the system's proxy settings are automatically restored.
The system proxy might be used instead of a proxy specified in the script when running more than one Vuser on a Windows 10 load generator.