You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Novak Jiri <XN...@cs.felk.cvut.cz> on 1999/02/16 12:55:29 UTC

[PATCH] support/ab.c improved for test more paths at once and better statistics

Hallo,

   After patch, ApacheBench is able to read file with paths to test on
WWW server. Paths are not full URL, only path on same WWW server.
It's able to process them repeatly by each path or by whole
file. I improved statistics too, now it can print stats for each 
request/path/run.

							Jirka Novak

urlfile:
/index.html
/credits.html
....

new options:
    -f urlfile      File containg urls for test (only /paths!)
                    Number of requests will be equal to number of urls
    -m mode         0=, 1=each url will be repeated 'repeat' times,
                    2=whole e will be repeated 'repeat' times
    -r repeat       Operations will be repeated 'repeat' times
    -s statmode     Mode of printing statistics
                    0=stats per url, 1=stats per repeated run
                    2=statsequest, -1=all

tested on:
   Linux 2.0.33, gcc 2.7.2.3, libc.so.5.4.38

oposite WWW:
   Apache Netscape-Enterprise/3.6, Apache/1.3.0