How to generate a HAR file?

How to generate a HAR file?

HTTP Archive (HAR) stores all web requests made by the browser, including:
  1. The request and response headers and bodies.
  2. Connection, response, and download times.
  3. Failed requests or network errors. 
HAR files help troubleshoot issues related to speed, caching, performance analysis, and security assessments. Please follow the steps below to generate a HAR file based on your browser.

Prerequisite: Be on the page where you encountered the issue.

For Google Chrome

  1. Right-click the page > Inspect.


  2. Navigate to the Network tab and click the record  button. Refresh the page and repeat the action that caused trouble to capture the issue as output.




  3. Right-click any of the files listed and click Save all as HAR with content. 


For Firefox

  1. Click the hamburger  icon > More Tools > Web Developer > Network





  2. Reload the page and redo the action that initially caused trouble. Right-click any of the files listed and click Save All As HAR


For Microsoft Edge

  1. Right-click the page > Inspect > Network tab.
  2. Refresh the page and once again perform the action to record the issue as output. 
  3. Click the down arrow icon  (shows Export HAR when hovered over) and save the file in the desired location. 


For Safari

  1. Check if you have the Develop menu listed in the menu bar. If not, go to Safari > Settings > Advanced > Show features for web developers
  2. Go to Develop > Show Web Inspector.
  3. Right-click the page > Inspect > Network tab.
  4. Reload the page and repeat the action to record the issue.
  5. Click the Export tab.


Once the HAR files are exported, save them in the desired location. These files can be used to analyze and troubleshoot the issue.


    • 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   ...
    • How to resolve the "Error opening ZIP file or JAR manifest missing" issue?

      1. Kindly check whether the agent JAR is available in the specified path. 2. Make sure the agent directory has read/write permissions. If the above steps don't work, kindly contact support@site24x7.com with server logs/errors.
    • 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} ...