Skip to content

alienhard/apache-log-replay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Script to replay HTTP requests from an Apache access logfile

Features

  • 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.

Installation

Requires Python >= 2.6

Simply download the file and execute it...

Usage

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

About

A simple script to replay requests from an apache access logfile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%