Chrome HAR record¶
Google Chrome has a built-in extensions which allows to easily record requests and responses and export them as HAR format.
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
- Navigate to record HTTP traffic,
- Right-click on any request and select Save as HAR with content.
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:
Simply drop the file in the HAR area or use the Choose File button. The download starts automatically.
By default OctoPerf will filter a certain number of URLs based on a few blocklists:
Make sure to
Disable ad blocker if you prefer to keep everything.