codesenberg / bombardier

Fast cross-platform HTTP benchmarking tool written in Go
MIT License
6.03k stars 315 forks source link

httpClient timeout #112

Open vabic opened 3 months ago

vabic commented 3 months ago

What version of bombardier are you using?

bombardier v1.2.6

What operating system and processor architecture are you using (if relevant)?

windows/amd64

What did you do?

Long request more than 90 seconds (default httpClient timeout=90 sec) Request sample: bombardier --duration 10m -c 1 -n 1 --timeout 10m --insecure -l --fasthttp --header "Authorization: Bearer TOKEN" --header "content-type: application/json" https://server/v1/resource/41261D49-C6FB-4967-93D0-FD151E40D4ED/SetNewId -m POST -b '{\"Id\":\"8EEB4437-A2E1-4FCA-B658-4C8087DD6A7F\"}' --print r --format json

From response: "timeTakenSeconds":90.0399073,

What you expected to happen?

Timeout value not respected.

What actually happened?

Timeout after 90 sec regardless the new value .