Capture web session traffic

Capturing live requests and Virto Commerce interactions using HTTP network sessions can be a powerful troubleshooting exercise. You can help expedite issue resolution time by providing network sessions to Virto Commerce support.

There HAR file is a sort-of standard archive format for recording Web Session on an Archive for later analysis (performance comparison, etc).

The easiest way to generate a HAR file of a manual browsing session using Chrome or Microsoft Edge or Firefox. All options work fine, but it’s marginally simpler (less hassle) to get it working in Chrome using DevTools.

Using Chrome DevTools

Requirements:

  • A desktop or laptop computer
  • Chrome

Chrome’s DevTools can capture all traffic and save it to a HAR file. Here’s how to extract the HAR file in Chrome:

Chrome DevTools interface showing download button and option to "Save all as HAR with content"

  1. Right-click in the browser window or tab and select Inspect.
  2. Click the Network tab in the panel that appears.
  3. Click the download button Download (“Export HAR” appears when you hold the pointer over it).
  4. Name the file.
  5. Click Save.

Content for all requests on the page are saved in the same HAR file.