JoeDog / siege

Siege is an http load tester and benchmarking utility
GNU General Public License v3.0
5.92k stars 386 forks source link

POST option does not take effect #77

Closed eruvanos closed 8 years ago

eruvanos commented 8 years ago

Invoking siege (4.0.2) with the POST command, doesn't request with POST. I had a Java Spring Controller which is just available for post requests.

With following command: siege -t 1M -H 'Content-Type: application/json' -H "Authorization: Bearer $token" "https://$host/api POST {}"

All siege requests result in 405s, since the server is rejecting them as GET requests:

HTTP/1.1 405 0.29 secs: 219 bytes ==> POST https://...

eruvanos commented 8 years ago

Network issues with proxy. Solved. Sry.