Skip to main content

Generating a HAR file for troubleshooting

When troubleshooting test transactions, it is sometimes necessary for us to obtain additional information about the network requests that are generated in your browser during the request.

Note: Keep in mind that HAR files contain sensitive data, including content of the pages you downloaded while recording and your cookies. This allows anyone with the HAR file to impersonate your account and all the information that you submitted while recording (personal details, passwords, credit card numbers, etc.).

 

Generation of the HAR file

In Chrome

  1. Open Chrome and go to the page where the issue is occurring.
  2. Look for the Vertical ellipsis button () and select More Tools > Developer Tools.
  3. From the panel opened, select the Network tab.
  4. Look for a round Record button ( ) in the upper left corner of the tab, and make sure it is red. If it is grey, click it once to start recording.
  5. Check the box Preserve log.
  6. Click the Clear button ( ) to clear out any existing logs from the Network tab.
  7. Reproduce the issue that you were experiencing before, while the network requests are being recorded.
  8. Once you have reproduced the issue, in Chrome, click Download. Then save the file to your computer: Save as HAR with Content
  9. Attach your HAR file to your email reply.

Note: The instructions are the same for a MAC computer or a Windows computer.

 

In Firefox

  1. Open Firefox and go to the page where you are experiencing trouble.
  2. Select the Firefox menu (three horizontal parallel lines) at the top-right of your browser window, then select Web Developer > Network.
  3. The Developer Network Tools opens as a docked panel at the side or bottom of Firefox. Click the Network tab.
  4. The recording autostarts when you start performing actions in the browser.
  5. Once you have reproduced the issue and you see that all of the actions have been generated in the Developer Network Panel (should just take a few seconds), right-click anywhere under the File column, and click on Save all as Har.
  6. Save the HAR file somewhere convenient.
  7. Attach your HAR file to your email reply.

Note: The instructions are the same for a MAC computer or a Windows computer.

 

In Internet Explorer

  1. Open Internet Explorer and go to the page where the issue is occurring.
  2. Press F12 on your keyboard (or click the gear icon > F12 Developer Tools)
  3. Click the Network tab.
  4. Reproduce the issue that you were experiencing before, while the network requests are being recorded.
  5. Once done click the Save button.
  6. Give the trace a filename and click the Save button which will save it as a .HAR file.
  7. Attach your HAR file to your email reply.

Note: The instructions are the same for a MAC computer or a Windows computer.

 

In Safari

Before generating the HAR file, make sure you can see the Develop menu in Safari. If it is not there, follow the instructions under Use the developer tools in the Develop menu in Safari on Mac.

  1. Open the Develop menu and select Show Web Inspector.
  2. Click the Network tab and complete the activity that is causing issues.
  3. Click the Export icon on the far right of the network tab and save the HAR file.
  4. Attach your HAR file to your email reply.

 

In Edge

Edge natively produces HAR files. For more instructions, see the instructions from the Microsoft website

  1. Open the Network tool in F12 developer tools.
  2. Reproduce the issue.
  3. Export captured traffic as a HAR (CTRL + S).
  4. Attach your HAR file to your email reply.

 

Note: Article based on this reference: https://support.zendesk.com/hc/en-us/articles/4408828867098-Generating-a-HAR-file-for-troubleshooting

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