Loading...

Knowledge Base

How to Save or Export a HAR File

Note: Use this article when customer support requests additional information for your case, especially when they specifically ask for a .HAR file to aid in their investigation.

Learn how to export a HAR (HTTP Archive) file for web analysis with this informative article. Discovering the techniques to utilize and export a HAR file correctly can significantly enhance your website's performance and overall user experience.

In this article, we will discuss:

How to Save or Export a HAR File

To save or export a .har file, please follow the instructions below.

Select an option below for more details on saving or exporting a .har file using any of the browsers below:

Chrome

  1. Go to your email login page.
  2. On your keyboard, press Ctrl+Shift+I simultaneously to open the developer mode.
  3. Switch to the Network tab within the new window (this is set by default in the main window)
  4. Log in or do the action that produces the error without closing the new window.
  5. Wait until the list on the window stops.
  6. Right click on a request and select Save all as HAR with Content.

Firefox

  1. Go to your email login page.
  2. On your keyboard, press Ctrl+Shift+Q simultaneously to open the developer mode.
  3. Log in or do the action that produces the error without closing the new window.
  4. Wait until the list on the window stops.
  5. Right click on a request and select Export as HAR.

Microsoft Edge

  1. Go to your email login page.
  2. On your keyboard, click F12.
  3. Switch to Network tab inside the new window.
  4. Log in or do the action that produces the error without closing the new window.
  5. Wait until the list on the window stops.
  6. Click on the floppy disk symbol and select Export as HAR, select one request and on your keyboard, press Ctrl+S simultaneously.

How to Remove Password from the HAR File

Note: Following the instructions will log all information, including sensitive data, such as your password or other data transferred from/to the browser/server. To limit the amount of data, start the developer mode before you execute the action that produces the error.

To remove the password from the file, search for password:

        action=login&name in the .har file:
      

          "text": "action=login&name=atest&password=secret [...]
          &rampup=true&rampupFor=open-xchange-appsuite",
          "params": [
          {
          "name": "action",
          "value": "login"
          },
          {
          "name": "name",
          "value": "atest"
          },
          {
          "name": "password",
          "value": "secret"
          }
          ]
        

Review

Learning how to export and use HAR (HTTP Archive) files is crucial for improving your website's performance and improving the user experience. This article has taught you how to effectively save or export HAR files, which will help you analyze your website.

Did you find this article helpful?

 
* Your feedback is too short

Loading...