[httperf] download objects from websites

Martin Arlitt arlitt@granite.hpl.hp.com
Tue, 7 May 2002 06:24:37 -0700 (PDT)


Luke

httperf does not have an option to parse the body of html files.  thus it
cannot retrieve the objects that are listed in the body of the html file.

if you know in advance all of the objects you want to retrieve you could
try the --wlog or --wsesslog options.  

Martin


On Tue, 7 May 2002, Lukasz P wrote:

> Hi All,
> 
> I tried find some information about httperf program. I have been doing some
> tests but I don't know
> what I must do that httperf will download all objects from body (e.g. in
> index.html). Does
> httperf has special option for this?
> 
> httperf --uri=/~lpiskorz/ --hog --server www --num-conn 100 -ra 10 --timeout
> 5
> After this command httperf download only file http://www/temp/index.html .
> But there are objects, too
> e.g
> <src image=pwr.gif >
> <src image=ankieta.gif >
> <src image=czat.gif >
> 
> Below is config file (from apache server). I would like to have it (when I
> will use httperf)
> 
> 156.18.123.22 - - [04/May/2002:19:23:26 -0500] "GET /~lpiskorz HTTP/1.0" 301
> 325
> 156.18.123.22 - - [04/May/2002:19:23:31 -0500] "GET /~lpiskorz/ HTTP/1.0"
> 200 941
> 156.18.123.22 - - [04/May/2002:19:23:31 -0500] "GET /~lpiskorz/pwr.gif
> HTTP/1.0" 200 5281
> 156.18.123.22 - - [04/May/2002:19:23:31 -0500] "GET /~lpiskorz/ankieta.gif
> HTTP/1.0" 200 1470
> 156.18.123.22 - - [04/May/2002:19:23:32 -0500] "GET /~lpiskorz/czat.gif
> HTTP/1.0" 200 370
> 
> 
> but now I have only...
> 156.18.123.22 - - [04/May/2002:19:23:26 -0500] "GET /~lpiskorz/index.html
> HTTP/1.0" 200 325
> 156.18.123.22 - - [04/May/2002:19:23:31 -0500] "GET /~lpiskorz/index.html
> HTTP/1.0" 200 325
> 156.18.123.22 - - [04/May/2002:19:23:34 -0500] "GET /~lpiskorz/index.html
> HTTP/1.0" 200 325
> 
> Maybe this is not possible. Can you explain me?
> 
> best regards
> 
> luke
> 
> 
> 
> _______________________________________________
> httperf mailing list
> httperf@linux.hpl.hp.com
> http://linux.hpl.hp.com/cgi-bin/mailman/listinfo/httperf
>