how can i use apache log files to recreate usage scenario

Posted by daigorocub on Server Fault See other posts from Server Fault or by daigorocub
Published on 2011-11-13T15:49:39Z Indexed on 2011/11/13 17:54 UTC
Read the original article Hit count: 281

Filed under:
|
|

Recently i installed a website that had too many requests and it was too slow. Many improvements have been made to the web site code and we've also bought a new server.

I want to test the new server with exactly the same requests that made the old server slow. After that, i will double the requests, make new tests and so on.

These requests are logged in the apache log files. So, I can parse those files and make some kind of script to make the same requests. Of course, in this case, the requests will be made only by my computer against the server, but hey, better than nothing.

Questions: - is there some app that does this already? - would you use wget? ab? python script?

Thanks!

© Server Fault or respective owner

Related posts about apache2

Related posts about log-files