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

    • Troubleshoot the Unauthorized user (Error 401) when installing Tomcat plugins

      When installing Tomcat plugins, you may encounter the following error: Unauthorized user. Does not have permissions. HTTP Error 401: This error usually occurs when the user accessing the Tomcat Manager application does not have the necessary ...
    • Troubleshoot the Error 404 and Error 99 for RabbitMQ

      When installing the RabbitMQ plugin, you may encounter the following errors: HTTP Error 404: Not Found: This error usually occurs when Site24x7's RabbitMQ monitoring plugin attempts to access the /api/overview page of RabbitMQ, but the resource ...
    • Troubleshoot the "pymysql module not found" error when installing the MySQL plugin

      If you're encountering the pymysql module not found error, it likely means that the pymysql Python library is not installed on the server. pymysql is a Python package that provides a way to interact with MySQL databases using Python code and is used ...
    • How to configure the NGINX status page for monitoring NGINX performance

      The NGINX plugin uses the NGINX status page to pull the performance metrics of the NGINX server. You may encounter the following errors while installing the NGINX plugin integration: Error_code : HTTP Error 404: This error usually indicates that the ...
    • OAuth token Generation

      Create a Slack app. Select the workspace that you need to access using Slack Web API. Navigate to Permission and configure the Workspace URL in Redirect URL. Navigate to Scopes and add the below scopes to User Token Scopes:          users:read ...