Send request body data when running siege
Posted
by
qui
on Super User
See other posts from Super User
or by qui
Published on 2013-04-22T16:13:02Z
Indexed on
2013/10/21
15:59 UTC
Read the original article
Hit count: 194
performance-tuning
I am trying to use the command line utility Siege to load test a service. The service recieves json in the request body via a POST.
I have a file called example-data.json with the json inside.
I will eventually turn this into a tiny service which creates random json for testing, but this should do for now
I have another file called hit-qa.siege with
http://www.qa-url.com POST < example-data.json
and i try and run
siege -c10 -d1 -r1 -f ops/perf/hammer-dev.siege
When I check the logs of the service, it is not recieving anything in the request body. My googles have been fruitless, does anyone know how to accomplish this?
© Super User or respective owner