rakyll / hey

HTTP load generator, ApacheBench (ab) replacement
Apache License 2.0
17.99k stars 1.19k forks source link

cannot connect through http proxy w/ auth to https site #261

Closed jw6602 closed 2 years ago

jw6602 commented 2 years ago
hey -n 1 -c 1 -m GET -x "http://127.0.0.1:3128" -H "Proxy-Authorization: Basic dXNlcjpwYXNz" https://127.0.0.1
Get "https://127.0.0.1": Proxy Authentication Required

I check the proxy server end and find it doesn't send out auth details in the Proxy-Authorization header.

jw6602 commented 2 years ago

I try with the following command and it works.

hey -n 1 -c 1 -m GET -x http://user:pass@127.0.0.1:3128 https://127.0.0.1