Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

A simple script that "replay" requests based on apache's access logfile

Notifications You must be signed in to change notification settings

mrksdck/apache-log-replay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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
  • Optionally send all requests to a different server (and output url reflects that)
  • Only HTTP GET is used for replay
  • Requests will be sorted by time, so that it reflects the timeline

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
  --host=HOSTNAME
		    send requests to server HOSTNAME

About

A simple script that "replay" requests based on apache's access logfile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%