The most realistic load test is one that does exactly what a real user does. The fastest way to capture that is not to write it: record it. A HAR file is a recording of every request your browser made, and it can become a load test in minutes.

What a HAR file is

HAR (HTTP Archive) is a JSON format that browsers export from their developer tools. It lists every request in a session: method, URL, headers, body, and the response with its status and timing.

Record one in 60 seconds

Chrome or Edge

  1. Open DevTools (F12) → Network tab.
  2. Tick Preserve log, and clear the list.
  3. Walk through the journey: sign in, search, add to cart.
  4. Right-click any request → Save all as HAR (or use the download icon).

Firefox: Network tab → gear icon → Save All As HAR.

Safari: enable the Develop menu → Web Inspector → Network → Export.

Before you share it: it contains secrets

A HAR file includes cookies, authorization headers, tokens and form fields, including passwords you typed. Treat it like a password:

  • record with a test account, never your own admin account;
  • do not attach HAR files to public tickets;
  • remove or mask credentials before sharing (good importers do this for you).

From recording to load test

A raw HAR is not yet a good load test. Turning it into one takes four steps:

  1. Remove noise. Drop static assets (images, fonts, CSS, scripts from CDNs), analytics and third-party trackers. You want to load your servers, not Google Analytics.
  2. Make values dynamic. A recorded session token or CSRF token is only valid once. Capture it from the response where it first appears (the login response, a form page) and reuse it in later requests.
  3. Use different data per user. If 500 virtual users sign in as the same person, you are testing one cached row. Replace the email and password with values from a dataset of test accounts.
  4. Restore think time. Real users pause between actions. Keep pauses of a few seconds between steps instead of firing everything back to back.

Then shape the load

The journey answers what each user does; the load shape answers how many. Start with a small smoke run (one user, once) to check the flow works, then ramp up. See how to load test an API before launch for choosing the numbers.

Other good sources

  • OpenAPI or Swagger documents: every endpoint with its parameters, ideal for API coverage.
  • Postman collections: the requests your team already uses every day.
  • cURL commands: "Copy as cURL" from DevTools for a single request.
  • Traces (OpenTelemetry, Jaeger): what real production traffic actually called, in order.

In Hoofbeat

Use Import on a flow, or attach the HAR file in HoofbeatChat. Hoofbeat drops static assets and third-party hosts, masks credentials, and turns the requests into editable steps in the visual builder. Only a short list of requests is kept, never the file itself. From there, add captures for tokens, pick a dataset for accounts, set thresholds, and run. OpenAPI/Swagger, Postman, cURL and traces import the same way.