What is a HAR file?
A HAR file can be used to analysis the status of your network, it is primarily used for identifying performance issues, such as bottlenecks, slow load times, and page rendering problems. They are therefore useful when helping us to identify the cause behind performance issues that you may be experiencing. Below is a step-by-step guide on how to capture a HAR file.
Step-by-step guide
Open your browser, e.g. Chrome or Edge.
Open the Developer Tools (Console) by using the following keyboard shortcuts:
MacOS: Option + ⌘ + J
Windows/Linux: Shift + CTRL + J
This will open a new panel at the side or bottom of your browser window, called the Developer Tools.
In the Developer Tools window, navigate to the "Network" tab (see screenshot below). This tab logs all network activity in your browser, which is essential for capturing the HAR file. It will start recording as soon as you open it.
Switch back to the main browser window and load the Sensat Platform.
Reproduce the issue you're experiencing. Let the platform fully load, or wait for 2-3 minutes while the page gathers data.
Return to the "Network" tab in the Developer Tools and download the HAR file, as shown in the screenshot below:
Send the HAR file to Sensat for analysis and investigation, along with:
Project URL
Time of day
User email used for authentication
A brief description of what you’re observing in the browser (or what you are expecting to be there but it is missing). A screenshot of the browser view will help as well.