Generate HAR file
search cancel

Generate HAR file

book

Article ID: 205795

calendar_today

Updated On: 04-29-2025

Products

DX Operational Intelligence VMware NSX VMware HCX

Issue/Introduction

This document intends to instruct how to generate a browser HAR file for:
  • Google Chrome
  • Mozilla Firefox
  • Internet Explorer
  • Safari
  • Microsoft Edge

Environment

DX Platform
VMware NSX
VMware HCX

Resolution

NOTE: HAR files can contain sensitive data, so ensure you remove or obfuscate any personal or confidential information before sharing them.

  • To generate the HAR file for Google Chrome:

    • Open Google Chrome and go to the page where the issue is occurring.
    • Look for the Vertical ellipsis button  and select More Tools > Developer Tools.
    • From the panel opened, select the Network tab.
    • 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.
    • Check the box Preserve log.
    • Click the Clear button to clear out any existing logs from the Network tab.
    • Reproduce the issue that you were experiencing before, while the network requests are being recorded.
    • Once you have reproduced the issue, right-click anywhere on the grid of network requests, select Save as HAR with Content OR Export HAR (sanitized), and save the file to your computer.
    • 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 Mozilla Firefox:

    • Open Firefox and go to the page where you are experiencing trouble.
    • Select the Firefox menu (three horizontal parallel lines) at the top-right of your browser window, then select Web Developer > Network.
    • The Developer Network Tools opens as a docked panel at the side or bottom of Firefox. Click the Network tab.
    • The recording autostarts when you start performing actions in the browser.
    • 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.
    • Save the HAR file somewhere convenient.
    • 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:

    • Open Internet Explorer and go to the page where the issue is occurring.
    • Press F12 on your keyboard (or click the gear icon > F12 Developer Tools)
    • Click the Network tab.
    • Reproduce the issue that you were experiencing before, while the network requests are being recorded.
    • Once done click the Save button.
    • Give the trace a filename and click the Save button which will save it as a .har file or .xml file.
    • 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.
    • Open the Develop menu and select Show Web Inspector.
    • Click the Network tab and complete the activity that is causing issues.
    • Click the Export icon on the far right of the network tab and save the HAR file.
    • Send us the file via your support ticket.