Generating a HAR file for troubleshooting


HAR is the short form for HTTP ARchive format, which tracks all the logging of web browser's interaction with a site.

HAR files can be a requirement for troubleshooting issues specifically for problems listed below:

·     Performance Issue: slow page load, timeout when performing certain task.

·     Page rendering : incorrect page format, missing information.

First line troubleshooting can be conducted by following this guide.

Providing these information to the support team will help expedite the troubleshooting process.

 

This article contains instructions on how to generate Har files for these browsers: 

·     Chrome

·     Firefox

·     Safari

·     Edge

 

To generate the HAR file for Chrome

  1. Open Google Chrome and go to the page where the issue is occurring.

  2. Look for the Vertical ellipsis button and select More Tools > Developer Tools.

  3. From the panel opened, select the Network tab.

  4. Look for a round Record button in the upper left corner of the tab, and make sure it is red. If it is grey, click it once to start recording.

  5. Check the box Preserve log.

  6. Click the Clear button to clear out any existing logs from the Network tab.

  7. Reproduce the issue that you were experiencing before, while the network requests are being recorded.

  8. Once you have reproduced the issue, in Chrome, click Export HAR to download. Then save the file to your computer: Save as HAR with Content. 

     



Upload your HAR file to your ticket or attach it to your email so that our Support team can analyse it.

The instructions are the same for a MAC computer or a Windows computer. 

 

To generate the HAR file for Safari

Before generating the HAR file, make sure you can see the Develop menu in Safari. If it is not there, follow the instructions under Use the developer tools in the Develop menu in Safari on Mac.

If you don’t see the Develop menu in the menu bar, choose Safari > Settings, click Advanced, then select “Show Develop menu in menu bar”.

  1. Open the Develop menu and select Show Web Inspector.

  2. Click the Network tab and complete the activity that is causing issues.

  3. Click the Export icon on the far right of the network tab and save the HAR file.

  4. Save it and send us the file via your support ticket.

 

To generate the HAR file for Firefox

  1. Open Firefox and go to the page where you are experiencing trouble.

  2. Select the Firefox menu (three horizontal parallel lines) at the top-right of your browser window, then select More tools > Web Developer Tools > Network.

  3. The Developer Network Tools opens as a docked panel at the side or bottom of Firefox. Click the Network tab.

  4. The recording autostarts when you start performing actions in the browser.

  5. Once you have reproduced the issue and you see that all of the actions have been generated in the Developer Network Panel (should just take a few seconds), right-click anywhere under the File column, and click on Save all as Har.

  6. Save the HAR file somewhere convenient.

  7. Upload your HAR file to your ticket or attach it to your email so that we may analyze it.

The instructions are the same for a MAC computer or a Windows computer.

 

To generate the HAR file for Edge

Edge natively produces HAR files. For more instructions, see the instructions from the Microsoft website

  1. Press F12 to open Developer tools:

  2. Find the Network tool > Network Settings > Turn on the Include pending requests in HAR file setting, then Reproduce the issue:

  3. Click on the Export HAR icon and save captured traffic as a HAR file:

The instructions are the same for a MAC computer or a Windows computer.

 

Note: HAR files contain sensitive data!
  • Content of the pages you downloaded while recording.

  • Your cookies, which would allow anyone with the HAR file to impersonate your account.

  • All the information that you submitted while recording: personal details, passwords, credit card numbers, etc.

If needed, you can edit a HAR file in a text editor and redact sensitive information.