[httperf] How can pass an upload file to httperf?
martin.arlitt at hp.com
Fri Nov 23 13:48:34 PST 2007
There currently is no option to attach a file to an httperf upload. I agree that it would be a useful feature, but someone would have to implement it.
From: httperf-bounces at napali.hpl.hp.com [mailto:httperf-bounces at napali.hpl.hp.com] On Behalf Of Ken Mamitsuka
Sent: Wednesday, November 21, 2007 2:26 PM
To: httperf at napali.hpl.hp.com
Subject: [httperf] How can pass an upload file to httperf?
I want to test http PUT with an upload file, much like the curl -T option. I'm able to upload some content using the -wsesslog option (and having some text content in the file), however, this seems kind of hacky and limited.
I was hoping the function would work something like:
$ curl -v -X PUT http://localhost:33306/files/22452b09-19cc-46f8-9bc9-cc301ece319f -T yosemite07.JPG
* About to connect() to localhost port 33306
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 33306
> PUT /files/22452b09-19cc-46f8-9bc9-cc301ece319f HTTP/1.1
> User-Agent: curl/7.15.4 (i686-pc-cygwin) libcurl/7.15.4 OpenSSL/0.9.8b zlib/1.
> Host: localhost:33306
> Accept: */*
> Content-Length: 2001890
> Expect: 100-continue
< HTTP/1.1 100 Continue
HTTP/1.1 200 OK
< Date: Wed, 21 Nov 2007 00:03:26 GMT
< Server: Noelios-Restlet-Engine/1.0.5
< Transfer-Encoding: chunked
* Connection #0 to host localhost left intact
* Closing connection #0
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the httperf