Skip to content

Chrome HAR record

Google Chrome has a built-in extensions which allows to easily record requests and responses and export them as HAR format.

chrome

Quick Video explaining how to record HTTP requests with Google Chrome

How to record

The following procedure explains how to record HTTP as an HAR file with Chrome:

  • Start Chrome,
  • Then press CTRL + SHIFT + N to start an incognito session,
  • Press F12 to display the developer bar,
  • Select Network tab, and check preserve log,
  • Navigate to record HTTP traffic,
  • Right-click on any request and select Save as HAR with content.

Note

There is know issue with chrome dev tools when the preserve log option is activated that prevents the recorded responses from being saved. To prevent this it is possible to click each response in the dev tools and display the response tab. But an easier solution is to use Firefox to generate the HAR.

Create Virtual User: Import HAR

Upload the newly created HAR file to create a virtual user:

Create Virtual User from HAR

Simply drop the file in the HAR area or use the Upload new HAR file button and hit Next.

Before uploading, you can adjust the import options: ad blocker, static resources and think times.