JMeter has all the capabilities to behave like a real browser and still maintain high scalability. For this, the following config elements should be added to JMeter:
- A cache manager to simulate the browser's cache.
- A cookie manager to simulate the browser's cookies.
- In the header manager include a user agent line. (We recommend recording from your own browser).
- Use thread/connection pool to simulate the browser parallel fetching (use between 2-4).
- Ask JMeter to retrieve embedded resources to simulate a browser retrieving embedded resources (such as gifs, css, js etc).
- You can also use our Chrome Extension which records JMeter scripts directly from the browser.
Want to learn more about getting started with JMeter? You'll want to view our on-demand webcast recording, How to Make Performance Testing with JMeter Simple.