Open wahmedswl opened 7 years ago
hey -c 10 -n 1000 -host www.xxx.com "url"
I just hit this too. I think you're supposed to specify -host
before the <url>
argument. Otherwise it seems to be silently ignored.
I just hit this, too. In my opinion hey -H "Host: hello"
should work (besides -host).
Hit this one too, and agree with @SchulteMarkus that the -H "Host: hello" should work. But I actually don't know why it does that.
curl ok.
# curl -H "host: app-default.hupu.io" http://10.36.12.104:80
Hostname: app-64bbc65f66-5kgw2
IP: 127.0.0.1
IP: 10.41.49.186
RemoteAddr: 10.36.12.103:50754
GET / HTTP/1.1
Host: app-default.hupu.io
User-Agent: curl/7.29.0
Accept: */*
Accept-Encoding: gzip
X-Forwarded-For: 10.30.21.166
X-Forwarded-Host: app-default.hupu.io
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: pub-k8s-gw-prd-44083-ecs
X-Real-Ip: 10.30.21.166
hey -H bad.
# hey -H "host: app-default.hupu.io" -c 1 -n 1 http://10.36.12.104:80
Status code distribution:
[404] 1 responses
hey -host ok.
# hey -host app-default.hupu.io -c 1 -n 1 http://10.36.12.104:80
Status code distribution:
[200] 1 responses
Hi, i am running hey against Linkerd Service, curl works fine but requests with hey resulting in 5xx
I have posted same kind of issue on https://github.com/codesenberg/bombardier/issues/17
Any help would be appreciated. Thanks