How to generate a HAR file

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

Situation

Task

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.

Pre-requisites

A browser that can reproduce the issue, we've covered Chrome and Firefox in this article.

The issue should be occuring or reproducible at the time of the collection to contain an example of the issue.

Steps

Open your browser ready to reproduce the issue.

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: 29-Nov-2021
  • Modified Date:29-Nov-2021
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center