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:

  1. Right-click in the browser window or tab, and select Inspect.
  2. Click the Network tab in the panel that appears.
  3. To reproduce your issue and start capturing HTTP traffic, refresh the page.
  4. Click the download button (as you hover over the download icon, Export HAR appears).
  5. Name the file.
  6. Click Save.

    Content for all requests on the page are saved in the same HAR file.

Generating a HAR file with Firefox

  1. Go to the web page that you're experiencing issues with.
  2. From the menu in the toolbar, select More tools > Web Developer Tools.
  3. Click the Network tab.
  4. Refresh the page.
  5. After the page is fully loaded, right-click the contents of the tab and select Save All As HAR to save the HAR file.
  6. Click the Console tab and right-click inside the contents of the tab.
  7. Click Save all Messages to File and save the file.
  8. Attach both the HAR file and the log file to the support ticket.

Generating a HAR file with Microsoft Edge (Chromium version)

  1. Go to the web page that you're experiencing issues with.
  2. From the menu in the toolbar, click More Tools > Developer Tools.
  3. Click the Network tab.
  4. To start the recording, click the Start recording network log icon .
  5. Refresh the page.
  6. Click the Export as HAR icon and download the HAR file.
  7. 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.
  8. Attach both the HAR file and the log file to the support ticket.