SUSE Support

Here When You Need Us

How to generate a HAR file

This document (000020177) is provided subject to the disclaimer at the end of this document.

Environment

  • Web Browser (Firefox or Chrome)
  • A browser that can reproduce the issue, we've covered Chrome and Firefox in this article.
  • The issue should be occurring or reproducible at the time of the collection to contain an example of the issue.

Situation

When troubleshooting an issue that is reproducible in a browser, it is sometimes necessary to have additional information about the requests and responses. You may be requested to generate a HAR file recording to capture this and attach this to a ticket for analysis.

Please note, the information collected in a HAR file can contain sensitive data like content, headers, and cookies. This is not always the case, and some information is transient only. However, please check and santise the information as necessary before uploading.

 

Resolution

Open your browser ready to reproduce the issue.

Shortcut
Using the F12 button you can quickly open the Developer Tools on FireFox and Chrome.

Chrome

  • From the menu, select View > Developer > Developer Tools
  • From the pane, click on the Network tab
  • Locate the Preserve log setting in the upper left and ensure it is checked
  • Locate the record button, it should be a red circle to indicate that it is currently recording, if it is grey, click it once to start recording
  • Follow any steps needed to reproduce the issue during the recording
  • Once the issue has occurred, right click in the pane and select Save as HAR with Content

Firefox

  • From the menu, select Tools > Web Developer > Network
  • The recording to start automatically with any further navigation in the browser
  • Follow any steps needed to reproduce the issue with the network pane open
  • Once the issue has occurred, right click in the pane and select Save all as HAR
Upload the HAR file

Generally, HAR files are small in size, however if the file are too large to upload directly to the ticket, please request or use the provided temporary upload location.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020177
  • Creation Date: 06-May-2021
  • Modified Date:28-Mar-2024
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.