I have an apache HTTP server, which is in production use. I have installed another server, which should do the same as this server, but I would like to do some simple load testing. The apache http server is stateless, and statically serves up many simple HTTP GET requests. I can see all the requests live with tail -f /var/log/apache/access.log
.
Is there a programme which will take this tail
'ed output from an apache log, and as soon as it sees a GET request, send a similar GET request to this other server, and reporting roughly how many also get a 200.
This is a simple way to mirror the live traffic from another server, and confirms that the new server is able to handle the real load.