httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guruprasad JG <guruprasad...@gmail.com>
Subject Re: [users@httpd] Code coverage while running web server
Date Sat, 19 Dec 2009 00:30:43 GMT
I am referring to the Apache code written in C. I would like to see if all
the paths are exercised for - request processing, resource management,
connection pooling, and configuration directives of the apache core. This
would be more like functional testing of apache.

On Fri, Dec 18, 2009 at 3:42 AM, Jonathan Zuckerman
<j.zuckerman@gmail.com>wrote:

> On Thu, Dec 17, 2009 at 9:49 PM, Guruprasad JG <guruprasad.jg@gmail.com>
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message