[httperf] reading request body and headers from a file

Ted Bullock tbullock at canada.com
Wed Jan 23 06:08:51 PST 2008


Can you please send this patch against the most recent CVS version.

http://sourceforge.net/cvs/?group_id=179982

-Ted

Steffen Kiefer wrote:
> Hi,
> 
> i would like to contribute another feature for httperf.
> Following patch allows to read request header and body from a given
> "request-file".
> 
> This works for command line as well as wsesslog mode.
> The requestfile may contain only body or headers and body of a request.
> In that case these are delimited by a blank line.
> 
> The requestfile can be passed via the command line option "--request-file".
> 
> In wsesslog mode you can specify the request-file(s) as follows:
> 
> /my/uri method=POST request-file='myrequestfile'
> /my/2nduri method=PUT request-file='myrequestfile2'
> 
> I would be pleased if you added this patch to the source tree.
> 
> Please inform me, if there are further questions.
> Thanks in advance
> 
> Steffen
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> httperf mailing list
> httperf at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/httperf/

-- 
Theodore Bullock, <tbullock at canada.com, tedbullock at gmail.com>
B.Sc Software Engineering
Bike Across Canada Adventure http://www.comlore.com/bike


More information about the httperf mailing list