Knowledgebase:
Generating a HAR file for troubleshooting
Posted by Prasad De Silva on 07 August 2020 11:24 PM

When troubleshooting complex issues, it is sometimes necessary for our customer service team to obtain additional information about the network requests that are generated in your browser while an issue occurs. A customer service team member may request that you record a HAR file, or a log of network requests, while that issue is occurring and then provide that to them for further analysis.

Below are some instructions about how you can easily generate a HAR file using different browsers.

  • Chrome
  • Firefox
  • Internet Explorer
  • 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 (mceclip0.png) and select More Tools > Developer Tools.
  3. From the panel opened, select the Network tab.
  4. Look for a round Record button ( 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 ( 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, right-click anywhere on the grid of network requests, select Save as HAR with Content, and save the file to your computer.
  9. Upload your HAR file to your ticket or attach it to your email so that our Support team can analyze it.

Here is a brief animation showing this process:

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 Web Developer > 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.

To generate the HAR file for Internet Explorer

  1. Open Internet Explorer and go to the page where the issue is occurring.
  2. Press F12 on your keyboard(or click the gear icon > F12 Developer Tools)
  3. Click the Network tab.
  4. Reproduce the issue that you were experiencing before, while the network requests are being recorded.
  5. Once done click the Save button.
  6. Give the trace a filename and click the Save button which will save it as a .har file or .xml file.
  7. Upload your HAR file to your ticket or attach it to your email so that we may analyze it.

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.

  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. Send us the file via your support ticket.

To generate the HAR file for Edge

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

  • Open the Network tool in F12 developer tools.
  • Reproduce the issue.
  • Export captured traffic as a HAR (CTRL + S).
(2 vote(s))
Helpful
Not helpful

Comments (0)