[httperf] HTTP PUT with 50 KB file

Bellorado, Aron abellorado at verivue.com
Fri May 13 10:01:24 PDT 2011

Using httperf, I am attempting to execute an HTTP PUT to a web server for 50 KB of data.  I am using the httperf command as shown below referencing the file 'httperfPut_50KB_asciiRandom.txt' which contains 50 KB of data in the 'contents' section.  However, httpperf does not send all the 50 KB of data with a single PUT and subsequent continuation packets.  Instead, httperf sends a single HTTP PUT with a content length of 9943 bytes and 4 subsequent continuation packets transmitting a total of about 10 KB of the data, and then executes HTTP GET's for the rest of the info specified in the 'contents' field from the 'httperfPut_50KB_asciiRandom.txt' file.  Is there a maximum number of bytes that can be transmitted by httperf with a PUT.  I tried increasing the send buffer but this did not help.  Any insight would be much appreciated.

/share/tools/bin/httperf --server=myserver.example.com --uri=/myFile.txt --method=PUT --port=8080 --wsesslog=1,0,httperfPut_50KB_asciiRandom.txt --print-reply

The httperfPut_50KB_asciiRandom.txt file is formatted as follows with 50 KB of data in the contents field (all information is on the same line):

/myFile.txt method=PUT contents="c6120z2zhzhi22qhqnu6z34rhnsvazciojnd53gv6nrca9v9c9u3rld587kdyaitk0jc5xd9aymg4c3uds4e7aznl7zayxc4qtgp9vlcu0yhgj69r9owap71tc

Aron Bellorado
Verivue, Inc.
3 Carlisle Road
Westford, MA 01886
E-Mail: abellorado at verivue.com<mailto:abellorado at verivue.com>
Web:   http://www.verivue.com<blocked::http://www.verivue.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://napali.hpl.hp.com/pipermail/httperf/attachments/20110513/0182af9f/attachment.htm

More information about the httperf mailing list