Collecting HAR Files

When troubleshooting various issues, it can be valuable to see information about each object that is getting loaded in the browser.  Generating HAR (HTTP Archive) files, or in Internet Explorer's case XML files, is a way to provide this information.  This article will walk you through the process of collecting this information in each of our supported browsers, and how you can review the information once a file is produced.

Google Chrome

  1. Right-click anywhere on the page and select "Inspect Element".
  2. Click the "Network" tab.
  3. If not already selected, click the record button.  The button will turn red when it is recording.
  4. Perform any of the tasks you wish to record on that page.
  5. When finished, right-click inside the list of objects in the panel and select "Save as Har with content".

Mozilla Firefox

In Firefox, you will need to download extensions in order to generate and save HAR files.

  1. Download and install Firebug from the following link: https://getfirebug.com/downloads/
  2. Download and install Firebug's NetExport extension from the following link: http://getfirebug.com/releases/netexport/.
  3. Once installed, click on the new Firebug icon in your toolbar.
  4. Click on the "Net" tab.
  5. Perform any of the tasks you wish to record on that page.  You will not need to select anything to begin recording.
  6. Click the "Export" button when you are finished and save the information as a HAR file.

Internet Explorer

You cannot generate a HAR file with Internet Explorer, but you can generate an XML file containing the same information by performing the following steps:

  1. Right-click anywhere on the page and select "Inspect Element".
  2. Click the "Network" tab.
  3. When you are ready to record, click the Play button.
  4. Once finished recording, click the Save / Export captured traffic button to save.

Viewing HAR / XML files

With HAR files, you can go to the following site to view the captured information: http://www.softwareishard.com/har/viewer/.  With the XML file produced in Internet Explorer, you can use a tool like Fiddler to import and view the contents of the file.

The steps provided were written using the following browser versions:

Chrome: Version 46.0.2490.80 m

Firefox: Version 41.0.2

Internet Explorer: Version 11.0.9600.18059

  • 12
  • 06-Nov-2015
  • 970 Views