How to generate a HAR file?

How to generate a HAR file?

HTTP Archive (HAR) contains all web requests made by the browser tab, including the request and response headers, the body and the time it look to load. It helps to troubleshoot issues related to speed and caching. Please follow the steps below to generate a HAR file based on your browser.

For Google Chrome

  1. Right-click in the page that you wish to debug/analyze and click on Inspect.

  2. Click on the Network tab > on the record button. Refresh the page to capture the issue as output.

  3. Right-click on any of the files listed and click on Save all as HAR with Content. Save the file. You can use this output file for troubleshooting the issue. 

For Firefox

  1. In the page that you wish to debug/analyze, click on the hamburger icon > Web Developer. 

  2. Click on Network.

  3. Refresh the page to capture the issue as output. Right-click on any of the files listed and click on Save All as HARSave the file. You can use this output file for troubleshooting the issue. 

For Microsoft Edge

  1. In the page that you wish to debug/analyze, go to Developer tools and click on the Network tab.
  2. Refresh the page to capture the issue as output. 
  3. Click on Export as HAR (the Save icon). Save the file. You can use this output file for troubleshooting the issue. 

For Safari

  1. Check if you have the Develop menu listed. If not, go to Safari > Preferences > Advanced > check the option Show Develop Menu in menu bar

  2. In the page that you wish to debug/analyze, go to Develop > Show/Connect Web Inspector.

  3. Refresh the page to capture the issue as output. Control + click on the resource for which you wish to capture the HAR file for and click Export HAR.


    • Related Articles

    • How File Added check works

      Working Principle: When a file availability check is added and the specified file is created or deleted, the resource check status will move to Down   and an alert will be sent to the user. If the specified file is already present in the folder   ...
    • Troubleshooting MIB file upload issues

      Purpose of the MIB browser in Site24x7 A management information base (MIB) browser helps you view the parsed MIB tree of the MIB file. From the MIB tree, you can select any node (or OID) and add it as a performance counter or an SNMP trap on ...
    • Subdirectory Availability and File Availability Checks

      The subdirectory check is used to monitor all the sub directories within a monitored directory. The user has the option to monitor all the sub directories or a particular sub directory [subdirectory name supports regular expressions] under the ...
    • Possibility of providing environment variable in apminsight.conf file

      Yes, it is possible. It can be done by enclosing the environment variable with { }. This can be done for all the options in apminsight.conf file. Note: The agent looks for the environment variable in ENV hash only Example: application.name={app_name} ...
    • What is the file 'S247WinCommunincationExt.exe' that is found in the Windows agent installation folder?

      Site24x7 server monitoring uses TLS version 1.2 for client-server data communication. If your server does not support TLS version 1.2 by default, then a Python-based file, S247WinCommunincationExt.exe, is downloaded automatically with which the ...