This post is part 1 of a series:
- Part 1: Website automation with Selenium and JMeter
- Part 2: Selenium scripting, Installation
One of our customers asked us to troubleshoot their web application: “out of memory” errors were causing page loads to fail. To understand and isolate the problem we needed a way to reproduce it, and observe it in a monitored scenario. We decided on a strategy for both server and web user:
- Server: deploy a build that monitors for memory leaks, a first-pass step to diagnose the out of memory errors.
- Client: simulate web requests from one or more users.
It was straightforward to monitor the server application for memory leaks. On the client side we needed a way to generate repeating user requests, potentially at high volume, because the errors didn’t occur for every request. This post describes how we built a client-side process to automate web requests.