Siege does not send POST data

I am trying to test my site with siege 3.0.1. But it seems that the siege is not sending POST data. Here is the request I receive from the web browser

POST / HTTP/1.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Cache-Control: no-cache Content-Length: 130 Content-Type: application/x-www-form-urlencoded Host: rsc Origin: http://rsc Pragma: no-cache Referer: http://rsc/ User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36 X-Forwarded-For: 127.0.0.1 X-Forwarded-Proto: http X-Real-Ip: 127.0.0.1 came_from=http%3A%2F%2Frsc%2F&login=***&password=***&form.login=%D0%9E%D1%82%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D1%8C 

And here is the siege request

 siege -g "http://rsc/ POST came_from=http%3A%2F%2Frsc%2F&login=***&password=***&form.login=%D0%9E%D1%82%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D1%8C" POST / HTTP/1.0 Accept: */* Accept-Encoding: Content-Length: 111 Content-Type: application/x-www-form-urlencoded Host: rsc User-Agent: JoeDog/1.00 [en] (X11; I; Siege 3.0.1) X-Forwarded-For: 127.0.0.1 X-Forwarded-Proto: http X-Real-Ip: 127.0.0.1 

Am I doing something wrong? I checked the siege documentation and it says nothing about POST except writing POST my=params after the URL.

+4
source share
2 answers

According to Siege's homepage , 3.0.1 has a major bug with HTTP POST, and the author suggests updating to 3.0.2

+8
source

I had a similar problem - the siege did not fit, but the result was "200", and then "General Error". I tried everything, the final result: I returned to the previous version 2.7.2 from 3.0.1, and this mysteriously works. Fyi.

0
source

Source: https://habr.com/ru/post/1491419/


All Articles