How to Generate a HAR file
Summary
When troubleshooting performance issues, it is sometimes necessary to obtain additional information about the network requests that are generated in your browser while an issue occurs. To assist in diagnosing these types of issues you may need to record a HAR file, or a log of network requests, while that issue is occurring and then provide that file for further analysis.
Steps
Below are the instructions for how you can easily generate a HAR file using Google Chrome. For additional browser support, see the Atlassian documentation for generating a HAR file. Â
- Open Google Chrome and go to the page where the issue is occurring.
- From the Chrome menu bar select View > Developer > Developer Tools.
- From the Developer Tools panel that opens on your screen, select the Network tab. By default the Developer Tools will load at the bottom of your screen. Â
- Check the Disable Cache option in the Network tab toolbar to prevent caching of resources for this specific page.
- Look for a round Record button ( Record button ) in the upper left corner of the Network tab, and make sure it is red. If it is grey, click it once to start recording.Â
- Check the box next to Preserve log.
- Click the Clear button ( next to the Record button ) to clear out any existing logs from the Network tab.
- Now try to reproduce the issue that you are experiencing while the network requests are being recorded.
- Once you have reproduced the issue, right click anywhere on the grid of network requests, select Save as HAR with Content , and save the file to your computer.
- Zip the file to make it smaller. Sometimes these files can be quite large. If you are on a Mac you can compress the file by right-clicking on the HAR file from Finder and choosing Compress from the menu.Â
- Attach your zipped HAR file to your ticket so that it may analyze it.
References
Here are similar steps described by Atlassian:
https://confluence.atlassian.com/kb/generating-har-files-and-analyzing-web-requests-720420612.html
HAR file viewers:
http://www.softwareishard.com/har/viewer/
https://toolbox.googleapps.com/apps/har_analyzer/
https://chrome.google.com/webstore/detail/http-archive-viewer/ebbdbdmhegaoooipfnjikefdpeoaidml?hl=en
Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.