[httperf] httperf using --wlog

Chuck Solie csolie at salsalabs.com
Wed Apr 13 11:30:25 PDT 2011


Sorry for what is likely a basic question, but i cant seem to get the 
--wlog option to process my list of URIs.  The documentation says for 
this option

"F is the path of a file containing the ASCII NUL '\0' separated list of 
URI addresses"

so i created many variations of input files, but it doesn't seem to read 
any of them the way i thought it would.   Does anyone have an example 
input file you can share?

Thanks in advance,

-chuck

additional info:
RHEL5 64bit
httperf: httperf-0.9.0 compiled Jan 23 2011 without DEBUG without 
TIME_SYSCALLS.

command lines:
httperf --wlog=n,mylinks.txt.short --verbose -d4 --num-conns=2 
--num-calls=2 rate=2 --print-request --print-reply=header 
--server=www.mywebsite.com
httperf --wlog=n,mylinks.txt.short --verbose -d4 --num-conns=2 
--num-calls=2 rate=2 --print-request --print-reply=header
httperf --wlog=n,mylinks.txt.short --verbose -d4 --num-conns=2 
--num-calls=2 rate=2 --print-request --print-reply=header

example1:
http://www.mywebsite.com/myimage.jsp?image=001\0http://www.mywebsite.com/myimage.jsp?image=002\0http://www.mywebsite.com/myimage.jsp?image=003\0http://www.mywebsite.com/myimage.jsp?image=004\0http://www.mywebsite.com/myimage.jsp?image=005\0http://www.mywebsite.com/myimage.jsp?image=006\0

returns:
SH0:GET 
http://www.mywebsite.com/myimage.jsp?image=001\0http://www.mywebsite.com/myimage.jsp?image=002\0http://www.mywebsite.com/myimage.jsp?image=003\0http://www.mywebsite.com/myimage.jsp?image=004\0http://www.mywebsite.com/myimage.jsp?image=005\0http://www.mywebsite.com/myimage.jsp?image=006\0


example2:
http://www.mywebsite.com/myimage.jsp?image=001
\0
http://www.mywebsite.com/myimage.jsp?image=002
\0
http://www.mywebsite.com/myimage.jsp?image=003
\0

SH0:GET http://www.mywebsite.com/myimage.jsp?image=001
SH0:\0
SH0:http://www.mywebsite.com/myimage.jsp?image=002
SHO:\0
SHO:http://www.mywebsite.com/myimage.jsp?image=003



-- 
Chuck Solie - SalsaLabs Ingredients for Organizing 1700 Connecticut Ave 
NW, Suite 300 - WDC. 20009 - 202.558.2807x123


More information about the httperf mailing list