When troubleshooting test transactions, it is sometimes necessary for us to obtain additional information about the network requests that are generated in your browser during the request.
Generation of the HAR file
In Chrome
- Open Chrome and go to the page where the issue is occurring.
- Look for the Vertical ellipsis button () and select More Tools > Developer Tools.
- From the panel opened, select the Network tab.
- Look for a round Record button ( ) in the upper left corner of the tab, and make sure it is red. If it is grey, click it once to start recording.
- Check the box Preserve log.
- Click the Clear button ( ) to clear out any existing logs from the Network tab.
- Reproduce the issue that you were experiencing before, while the network requests are being recorded.
- Once you have reproduced the issue, in Chrome, click Download. Then save the file to your computer: Save as HAR with Content
- Attach your HAR file to your email reply.
Note: The instructions are the same for a MAC computer or a Windows computer.
In Firefox
- Open Firefox and go to the page where you are experiencing trouble.
- Select the Firefox menu (three horizontal parallel lines) at the top-right of your browser window, then select Web Developer > Network.
- The Developer Network Tools opens as a docked panel at the side or bottom of Firefox. Click the Network tab.
- The recording autostarts when you start performing actions in the browser.
- Once you have reproduced the issue and you see that all of the actions have been generated in the Developer Network Panel (should just take a few seconds), right-click anywhere under the File column, and click on Save all as Har.
- Save the HAR file somewhere convenient.
- Attach your HAR file to your email reply.
Note: The instructions are the same for a MAC computer or a Windows computer.
In Internet Explorer
- Open Internet Explorer and go to the page where the issue is occurring.
- Press F12 on your keyboard (or click the gear icon > F12 Developer Tools)
- Click the Network tab.
- Reproduce the issue that you were experiencing before, while the network requests are being recorded.
- Once done click the Save button.
- Give the trace a filename and click the Save button which will save it as a .HAR file.
- Attach your HAR file to your email reply.
Note: The instructions are the same for a MAC computer or a Windows computer.
In Safari
Before generating the HAR file, make sure you can see the Develop menu in Safari. If it is not there, follow the instructions under Use the developer tools in the Develop menu in Safari on Mac.
- Open the Develop menu and select Show Web Inspector.
- Click the Network tab and complete the activity that is causing issues.
- Click the Export icon on the far right of the network tab and save the HAR file.
- Attach your HAR file to your email reply.
In Edge
Edge natively produces HAR files. For more instructions, see the instructions from the Microsoft website.
- Open the Network tool in F12 developer tools.
- Reproduce the issue.
- Export captured traffic as a HAR (CTRL + S).
- Attach your HAR file to your email reply.
Note: Article based on this reference: https://support.zendesk.com/hc/en-us/articles/4408828867098-Generating-a-HAR-file-for-troubleshooting