How to generate HAR file
search cancel

How to generate HAR file

book

Article ID: 205795

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

This document intends to instruct how to generate a browser HAR file for:

  • Chrome
  • Firefox
  • Internet Explorer
  • Safari
  • Edge

Environment

DX Platform

Resolution

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, 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.

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 online.

  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).