I recently ran into an issue with load testing ruby on rails while attempting to post xml data to a ruby appplication via httperf. Everything seemed correct except I could not get httperf to post this data correctly. The issue ended up being that the httperf switch -add-header requires a \n at the end of your HTTP header to process correctly. The entire command to test against the ruby application is below.
Short Answer: Install httperf, use the –add-header switch, and the wsesslog switch.
This was completed on a server running CentOS
1. Install httperf via yum (can be completed by adding the rpmforge yum repo): yum install httperf
2. Create a file(in this case httperf-test) to provide URI and other data.
File Contents: /testurl method=POST contents=’content data here’
3. Issue command: httperf –server server.example.com –add-header=”Content-Type: text/xml\n” –wsesslog 1,2,httperf-test
What’s up, is there anybody else here?
If there’s anyone else here, let me know.
Oh, and yes I’m a real person LOL.
See ya,
I am real too… and wrote the above post. What’s up?
Just wanted to say hello all. This is my first post.
I came to learn a ton here.
Hello Hydrolyze,
Good luck.
Thanks.
alex
hi there, my name is Eva.
found this website and read some great discussion and feedback so decided to join
i am happy to help others and offer advice where possible :)
Hello millercash,
Sounds great. Glad to have you around.
Thanks.
alex
Hello,
My PC worked not correctly, many errors. Help me, please to fix errors on my PC.
I used Windows7.
With best regards,
MalmgoaleagoK
Hello MalmgoaleagoK.
We will need more details than that to even come close to helping you.
Thanks.
alex