Generating a HAR file
HTTP Archive format (HAR) files are used to gather performance data from a web browser. Attaching a HAR file to an IBM® Support ticket helps expedite its resolution.
In addition to capturing header objects and response calls that are generated by a web page, HAR
files also capture the length of time it takes to complete the following actions:
- Connect to the server.
- Gather DNS information.
- Transfer assets from the server to the browser.
- Request an object.
The following sections describe how to generate a HAR file with the browsers that are supported by Envizi™ Supply Chain Intelligence.
Generating a HAR file with Chrome
Chrome's DevTools can capture all traffic and save it to a HAR file. Here's how to extract the HAR file in Chrome:
- Right-click in the browser window or tab, and select Inspect.
- Click the Network tab in the panel that appears.
- To reproduce your issue and start capturing HTTP traffic, refresh the page.
- Click the download button (as you hover over the download icon, Export HAR appears).
- Name the file.
- Click Save.
Content for all requests on the page are saved in the same HAR file.
Generating a HAR file with Firefox
- Go to the web page that you're experiencing issues with.
- From the menu in the toolbar, select More tools > Web Developer Tools.
- Click the Network tab.
- Refresh the page.
- After the page is fully loaded, right-click the contents of the tab and select Save All As HAR to save the HAR file.
- Click the Console tab and right-click inside the contents of the tab.
- Click Save all Messages to File and save the file.
- Attach both the HAR file and the log file to the support ticket.
Generating a HAR file with Microsoft Edge (Chromium version)
- Go to the web page that you're experiencing issues with.
- From the menu in the toolbar, click More Tools > Developer Tools.
- Click the Network tab.
- To start the recording, click the Start recording network log icon .
- Refresh the page.
- Click the Export as HAR icon and download the HAR file.
- Click the Console tab and look for any reported errors or warnings. If errors are shown, right-click on the console errors and select Copy all.
- Attach both the HAR file and the log file to the support ticket.