How to collect a Fiddler trace (HAR-file)
Applies to
HCL Digital Experience v9.5 and higher
Introduction
To help support investigate a product issue, HCL Support might ask you for a Fiddler trace or a HAR file. This article describes how you can produce these traces or files.
Instructions
To create Fiddler trace or an HAR file, refer the following steps:
Steps using Fiddler
-
Note
If the target site uses HTTPS, make sure to Configure Fiddler Classic to Decrypt HTTPS Traffic to capture the traffic.
-
If requested by HCL Support, enable tracing on the Portal server.
-
Open the browser and clear the cache. Alternatively, you can open a private or incognito tab.
-
Open Fiddler.
-
If requested by HCL Support, open the browser console (usually by pressing F12).
-
Reproduce the issue in your browser.
-
Once the issue is reproduced, save the Fiddler session (File > Save > All Sessions). This creates a file with a
.sazextension. -
Upload the file to your case with HCL Support.
-
If HCL Support requests additional logs, upload the
<wp_profile_root>\logs\WebSphere_Portallogs directory or a wpcollector output. -
If requested by HCL Support, copy the browser console text to a file.
- Go to the Console tab in Developer Tools.
- Right-click and select Copy console messages (or a similar save option, depending on your browser).
- Upload the file to your case.
If you cannot install Fiddler in your environment, you can use your browser’s built-in tools to provide similar data.
Creating a HAR file in a web-browser
-
Enable any tracing on the Portal server requested by HCL Support. Skip this step if tracing is not requested.
-
Open the browser and clear the cache. Alternatively, you can open a private or incognito tab.
-
Open your browser’s Developer Tools and select the Network tab.
-
Enable the option to preserve the log, such as Preserve log in Chrome or Persist Logs in Firefox.
-
Reproduce the issue in your browser.
-
After you reproduce the issue, save the session as a HAR file.
- In Chrome and Microsoft Edge: Click the Export HAR (sanitized)... button under the Network tab.
- In Firefox: Right-click and select Save all as HAR.
This creates a file with a
.harextension. -
Upload the file to your case with HCL Support.
-
If HCL Support requested additional logs, upload the
<wp_profile_root>\logs\WebSphere_Portallogs directory or a wpcollector output. -
If requested by HCL Support, copy the browser console text to a file.
- Go to the Console tab in Developer Tools.
- Right-click, and select Copy console messages (or a similar save option, depending on your browser).
- Upload the file to your case.
Additional Information
Also see HCL Digital Experience: Getting an HAR Log