Question:
How to create a HAR file for Vault browser issues?
Answer:
When reporting browser issues, it is helpful to record the steps for that issue and submit the information to Veeva Support through a ticket. The following sections list the steps to demonstrate how to do this.
To help keep the file concise and collect data only relevant to Veeva's troubleshooting, it is recommended to quit any unnecessary applications which might be running when creating the HAR file. When using a capture tool, such as Fiddler, instead of a browser's developer mode we recommend working with your IT, Networking, or Security team to ensure you only record traffic relevant to the troubleshooting needs. For example, ensuring only *.veeva.com traffic is captured.
NB.:no private credentials are captured during the below process.
To generate the HAR file for Chrome, do the following:
- Open Google Chrome and go to the page where the issue is occurring.
- From the Chrome menu bar, select More Tools --> Developer Tools. (Or press F12 on the keyboard)
- From the panel opened, select the Network tab.
- Look for a round Record button
It appears in the upper left corner of the tab and be sure it is red. If it is grey, click it once to start recording. - Check the Preserve log box.
- Click the Clear button
This clears any existing logs from the Network tab. - Reproduce the issue that occurred while the network requests are being recorded.
- Once the issue is reproduced, right-click anywhere on the grid of network requests and select Save as HAR with Content. Save the file to the local computer.
- Upload the HAR file to a Support ticket or attach it to an email so that Veeva Support can analyze it.
To generate the HAR file for Firefox, do the following steps:
- Open Firefox and go to the page where the issue occurs.
- Select the Firefox menu (three horizontal parallel lines) at the top-right of the browser window.
- Select Web Developer>Network.
- The Developer Network Tools open as a docked panel at the side or bottom of Firefox. Click the Network tab.
- The recording autostarts when actions initiate in the browser. Reproduce the issue that occurred while the network requests are being recorded.
- Once the issue is reproduced and all actions are 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 on the local machine.
- Upload the HAR file to a Support ticket or attach it to an email so that Veeva Support can analyze it.
To generate the HAR file for Internet Explorer.
- Open Internet Explorer and go to the page where the issue is occurring.
- Press F12 on the keyboard(or, click the gear icon --> F12 Developer Tools)
- Click the Network tab.
- Reproduce the issue that occurred while the network requests are being recorded.
- Once completed, click the Save button.
- Give the trace a filename and click the Save button. This saves it as a .har file or .xml file.
- Upload the HAR file to a Support ticket or attach it to an email so that Veeva Support can analyze it.
To generate a HAR for Edge
- Open Edge.
- From the menu, select ... -> More tools -> Developer Tools.
- Select the Network tab.
- Make sure "Preserve Log" is checked.
- Select the concentric circle icon (Or use the keyboard shortcut CTRL+ E) to start recording the session. This will turn the button red and replace the filled inner circle with a filled square.
- Select the same filled square button to stop recording the session.
- Select the "Export HAR..." button to export the recorded session to a HAR file. The button looks like an arrow pointing downwards to a horizontal line.
- Provide the HAR file to Veeva Support for further analysis.
To generate the HAR file for Safari
Before generating the HAR file, be sure the Develop menu is available and visible in Safari. If it is not there, follow the instructions on the following page: Use the developer tools in the Develop menu in Safari on Mac.
- Open the Develop menu and select Show Web Inspector.
- To save the Web Traffic logs in a Web Archive (.HAR) file, click on the Filter icon and select the Preserve Log option.
- Click the Network tab and complete the activity that is causing issues.
- Click the Export option (the arrow pointing down icon) and save the web archive (.HAR) file.
- Upload the .HAR file to a Support ticket or attach it to an email so that Veeva Support can analyze it.
Related Documentation:
Vault Help Documentation: N/A