[httperf] --wlog wont work
Joerg Beyer
job@webde-ag.de
Mon, 08 Dec 2003 14:35:54 +0100
McliffordIE@aol.com wrote:
> Hi,
>
> I'm also having problems using the --wlog option as posted to the list
> in September-
> but I havent seen any reply posted.
>
> As you can see from these two examples, the request works fine if I
> specify the uri as part of the
> command line (--uri )
>
> Then, when I attempt to request the same page via --wlog, I just get
> http 400 errror (Bad Request)
>
> Any help/insight would be very much appreciated.
...
> pages.log just contains this one line
> ===================
> /portal/index.html
> ===================
please replace the "\n" at the end of the line against a "\0"
(a 0-Byte). A tr might do this job:
tr "\n" "\0" <pages.log >pages0.log
the use pages0.log in the httperf commandline.
hope this will help
Joerg