Skip to main content
Back to blog
tutorials 30 April 2020 2 min read

HAR to JMX File

Learn how to capture network traffic in Chrome as a HAR file and convert it to JMeter's JMX format using Blazemeter's conversion tool.

M

Mark

Performance Testing Expert

This guide walks through capturing network traffic in Chrome as a HAR file and converting it to Apache JMeter’s JMX format for performance testing.

What is a HAR File?

HAR (HTTP Archive) is a JSON-formatted archive file format for logging web browser interaction with a site. It captures all network requests, responses, headers, cookies, and timing information.

Capturing HAR Files

  1. Open Chrome’s Developer Tools (Ctrl + Shift + I)
  2. Navigate to the Network tab
  3. Browse through the pages you want to capture
  4. Right-click in the Network panel
  5. Select “Save all as HAR with content”

Converting to JMX Format

Apache JMeter does not natively support HAR files, so we need to convert them:

  1. Navigate to https://converter.blazemeter.com/
  2. Upload your HAR file
  3. Download the generated JMX file

Using the Converted File

Open the resulting JMX file in JMeter to access a test plan containing:

  • All captured HTTP requests
  • Cookies
  • Headers
  • Request parameters

Important Note

Unfiltered Chrome HAR exports produce raw recordings with extra attributes, requiring manual cleanup before optimal test plan use. You may need to:

  • Remove unnecessary requests (static assets, tracking scripts)
  • Clean up cookie handling
  • Parameterize dynamic values
  • Add appropriate assertions and listeners

Tags:

#jmeter #har #chrome #blazemeter #test-recording

Need help with performance testing?

Let's discuss how I can help improve your application's performance.

Get in Touch