POSTing multipart/form-data with Apache Bench (ab)
I'm trying to benchmark our upload server by simulating several concurrent requests using Apache Bench ( ab ). I've read this post that details the necessary steps and also this Stackoverflow question but I'm still unable to create a valid benchmark. This is the command I'm using with Apache Bench ab -n 10 -c 6 -p post_data.txt -T "multipart/form-data; boundary=1234567890" http://myuploadserver.com/upload These are the contents of my post_data.txt file. I apologize for the length. --1234567890 Content-Disposition: form-data; name="upload"; filename="Octocat.png" Content-type: image/png