httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Zuckerman <>
Subject Re: [users@httpd] Code coverage while running web server
Date Fri, 18 Dec 2009 08:42:32 GMT
On Thu, Dec 17, 2009 at 9:49 PM, Guruprasad JG <> 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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message