Script to replay HTTP requests from an Apache access logfile
- Takes the time between requests into account
- Replaying can be sped up by a given factor
- Optionally send all requests to a selected (proxy) server
Note: requests are replayed synchronously (only one request at a time), hence this script (as it is implemented now) does not reproduce a realistic high load scenario.
Requires Python >= 2.6
Simply download the file and execute it...
Usage: apache-log-replay.py [options] logfile Options: -h, --help show this help message and exit -p PROXY, --proxy=PROXY send requests to server PROXY -s SPEEDUP, --speedup=SPEEDUP make time run faster by factor SPEEDUP