A HAR file (HTTP Archive) is a record of every network request a web page makes. It's useful for support techs to figure out issues regarding issues on a page. You can collect a HAR file with these steps:
1. While on the page that's causing the issue, click the menu icon in the top-right corner of chrome (the icon with three vertical dots).
2. Choose 'More tools'->'Developer tools' to bring up the Developer Tools console.
3. Select 'Network'.
4. Ensure the box labeled 'Preserve log' is checked. This ensures you don't lose any information if you refresh the page.
5. You should see a small red circle in the top-left of the console, indicating that it is recording. If the circle is black, click on it to begin recording.
6. Reproduce the issue. You'll begin to see data collecting in the console window. You must reproduce the issue in the same tab for the HAR file to provide useful information. If you do not see the developer console open while your issue occurs, no data on your issue will be gathered. It's OK to refresh the page as long as you remembered to check "Preserve log" in Step 4.
7. When you're done reproducing the problem, right-click in the console window and select 'Save as HAR with Content' to download the .har data file.
Important Information about HAR Files
- Do not publicly share your HAR file as it may contain sensitive information. Only share it with internal, Maven Wave, or Google support agents. If not related to the issue being investigated, do not record a HAR of your login process.
- Some backend data for HAR files expires after six hours. After six hours, some backend data may not be possible to retrieve due to security concerns. Some data takes days to expire, but all HAR data will expire after some period of time. Please keep this in mind when recording a HAR file and provide it as promptly as possible.
Saving Your Console Logs
To save your console logs as well, go to the Console tab of the Developer Tools console and right click an entry, then press "save as" to save the file. In this screenshot, there is one log entry.
Comments
0 comments
Please sign in to leave a comment.