I created some test software to test a web server's specialized back-end some time ago. The concept was very simple. Port 80 is "snooped" on the client for packets going to the server. Packets are saved into a file for later processing. I used a web client to access the server and exercise the server during which the client requests are saved into the "snoop" file. I then process the "snoop" file and feed it into a special script that exercises the web server.
This worked great for http, but now I need to update the test software to work with https. Since this technique obviously doesn't work with https, I need to find a new (easy) way of generating the requests. I thought of hacking mozilla to write out the requests to a file before sending the requests to network services. I was looking at sometings in netlib as a place to insert the "hooks", possibly at a debug level. If someone could point me to the correct module/routine I'd sure appreciate it. Also, something like this would be great for generalized testing, especially as backends to web servers become more popular and I've thought of putting this together as an open source project. Does anyone have any advice?? If this is the wrong forum, please let me know where an appropriate place to post this question might be. Thanks, Mark
