You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to test an url behind basic auth, I noticed that preWarmServer doesn't inherit set headers and there doesn't seem to be a way to manually specify headers for pre-warming requests.
What browser did you use?
Chrome, Firefox, Edge
How to reproduce
Without `--preWarmServer` the following test works: `docker run sitespeedio/sitespeed.io:34.9.0 --browsertime.requestheader "Authorization:Basic Zm9vOmJhcg==" https://httpbin.org/basic-auth/foo/bar`
Adding `--preWarmServer` to the same run results in a failed `pre-testing` step.
`docker run sitespeedio/sitespeed.io:34.9.0 --browsertime.requestheader "Authorization:Basic Zm9vOmJhcg==" --preWarmServer https://httpbin.org/basic-auth/foo/bar
Hi @LeanderFS thanks for creating the issue. I think you are right we don't propagate those today. The reason from the beginning was both Chrome and Firefox used an extension to add headers, and that made it harder. Today Chrome uses CDP and Firefox WebDriver BiDi so it should be possible. At least preWarmServer should be easy I think, I'll have go tonight and see if I can fix it.
Have you read the documentation?
URL
https://httpbin.org/basic-auth/foo/bar
What are you trying to accomplish
While trying to test an url behind basic auth, I noticed that
preWarmServer
doesn't inherit set headers and there doesn't seem to be a way to manually specify headers for pre-warming requests.What browser did you use?
Chrome, Firefox, Edge
How to reproduce
Log output
The text was updated successfully, but these errors were encountered: