Steps to Record Network Traffic using your browser
Many problems are not visible by only looking at the instance logs. Some problems can be captured on the network traffic between the browser and the relevant services. For example, instance, Identity providers, chat services, etc.
One troubleshooting method that can help to narrow down what is happening on the client-side is to record the details of the network traffic so it can be analyzed later.Symptoms
You may benefit on providing a recording of the network traffic if you are having problems on:
- Live feed
- Global search
- Interfaces using REST against the instance
- Problems related to network traffic
One popular method is creating a HAR file, HTTP Archive that captures the reproduced steps.
Here are the steps to performs on Chrome, Firefox or Internet Explorer:
From the Chrome menu in the top right corner, choose Tools > Developer Tools.
Click the Network tab.
Reproduce the problem.
Important: The log would clear every page open. If the logs need to be preserved, click the Preserve log checkbox below the tabs.
If the time lags, navigate to the Developer tool, right-click the entry, and choose Save As HAR with Content from the context menu.
Warning: Make sure to add the file extension .har to the filename.
Press Ctrl+Shift+Q to display the Network developer tool.
Reproduce the issue.
Right-click anywhere in the resulting waterfall and choose Save as HAR in the context menu.
Make sure to add the file extension .har to the filename.
Press the F12 key.
A component appears at the bottom of the screen.
Click the Network tab and press the green triangle, Play button.
Reproduce the issue.
To save, press the red square, Stop button, and click the disk arrow icon directly to the right.
Only Microsoft Edge supports the HAR format. IE offers export only as an XML or CSV file. You can view CSV files in a spreadsheet tool such as Excel, or view XML files in any tool that can read HTTP Archive files, such as the Chrome extension HTTP Archive Viewer
To View the HAR file log
To view the HAR file log, you need a viewer application.
- Install the Google Chrome extension HTTP Archive Viewer or download this viewer from http://www.softwareishard.com/har/viewer/ .
- Remove the checkmark from Validate data before processing?
- Drag the HAR file inside the Preview box.