On Thu, Dec 17, 2009 at 9:49 PM, Guruprasad JG <guruprasad.jg@xxxxxxxxx> wrote: > > I am working on a project which requires running httpd web server. I need to > ensure that all the important code paths are covered while the web server is > running. I looked around for test scripts which can help in doing that, but > couldn't find any. Are there any test suite or bunch of functional test > scripts which the developers might use to test the web server before > official releases ? > > Thanks a ton ! > Guruprasad > When you talk about code paths, it's meaningless without specifying what type of code you're using (language). I'm familiar with Java and PHP and I've heard of several unit testing suites for each. But those would be questions for a different list...since Apache is an http server, you might just be talking about checking URLs. In that case I doubt any such script exists, as the complex part would be defining the ontology of your website's valid locations. The rest is pretty trivial, loop through the urls, make an http request with curl or wget or something for each of them, and scrub the response for the HTTP status code. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx