Generate HAR files

When investigating an issue, in certain cases a HAR—HTTP ARchive format—file is required. HAR files can log network requests, namely track information between a web browser and a website, helping to identify performance issues and page rendering problems. This article describes how to generate a HAR file for the following browsers: Google Chrome, Apple Safari, Microsoft Edge, or Opera.

NOTE   

It's recommended to create a separate HAR file for each issue.

 

In this article

 

Generate a HAR file for Google Chrome

  1. In a Google Chrome browser window, open the page where the issue is occurring.
  2. From the vertical ellipsis menu in the top right corner select More Tools > Developer Tools, or simply press the F12 button.
  3. In the opened panel, select the Network tab.
  4. Enable the Preserve log checkbox.
  5. In the upper left corner of the Network tab, make sure a round Record button is red. If it is grey, click it once to start recording.
  6. Click the Clear icon right after the Record button to clear out any existing logs from the Network tab.
  7. Reproduce the issue that you were experiencing, while the network requests are being recorded.
  8. Once you have reproduced the issue, right-click anywhere on the grid of the network requests, select Save as HAR with Content (arrow down icon), and save the file to your computer.
  9. Upload your HAR file to the ticket or attach it to your email so that the Zensai Product Support team can analyze it.

 

Generate a HAR file for Apple Safari

Before generating a HAR file, make sure you can see the Develop menu in the Safari browser. If it isn't there, follow the instructions under Use the developer tools in the Develop menu in Safari on Mac.

  1. From the Develop menu select Show Web Inspector.
  2. Navigate to the Network tab and complete the activity that is causing the issue.
  3. On the far right of the Network tab, click the Export icon to save a HAR file.
  4. Upload your HAR file to the ticket or attach it to your email so that the Zensai Product Support team can analyze it.

 

Generate HAR file for Microsoft Edge

  1. In a Microsoft Edge browser window, open the page where the issue is occurring.
  2. From the vertical ellipsis menu in the top right corner select More Tools > Developer Tools, or simply press the F12 button.
  3. In the opened panel, select the Network tab.
  4. In the upper left corner of the Network tab, make sure a round Record button is red. If it is grey, click it once to start recording.
  5. Reproduce the issue that you were experiencing, while the network requests are being recorded.
  6. Export the captured traffic as a HAR (CTRL + S). 
  7. Once you have reproduced the issue, export the captured traffic as a HAR (CTRL + S) file to your computer.
  8. Upload your HAR file to the ticket or attach it to your email so that the Zensai Product Support team can analyze it.

 

Generate a HAR file for Opera

  1. In an Opera browser window, open the page where the issue is occurring.
  2. From the Opera menu at the top-left of the browser window, select Developer > Developer Tools, or simply press the F12 button.
  3. The Developer Tools window opens as a docked panel at the side or bottom of Opera.
  4. In the opened panel, select the Network tab.
  5. Enable the Preserve log checkbox.
  6. In the top-left side of the Network tab, make sure a round Record button is red. This means the capture has started. If it is black, click the black circle to start the recording activity in your browser.
  7. Click the Clear icon right after the Record button to clear out any existing logs from the Network tab.
  8. Refresh the page and reproduce the issue that you were experiencing, while the network requests are being recorded.
  9. After successfully performing the web transaction activity, right click on any row of the activity pane and select Save all as HAR with Content or click the Export HAR (arrow down) icon to save the HAR file to your computer.
  10. Upload your HAR file to the ticket or attach it to your email so that the Zensai Product Support team can analyze it.

 

Was this article helpful?
1 out of 1 found this helpful

Comments

Article is closed for comments.