grafana/k6

Unable to set up proxy

Open

#4,432 创建于 2022年7月8日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)Go (30,564 star) (1,537 fork)batch import
area: browserbrowser: user requestbuggood first issuehacktoberfesttriage

描述

As the title suggests I am unable to initiate the xk6-browser using a proxy. I am aware that the README is a bit wrong on the way it defines the proxy, because proxy support through variables is still on TODO.

https://github.com/grafana/xk6-browser/blob/main/common/connection.go#L146

So currently the proxy value is in theory taken from the environment variables.

However when exporting them, a proxy is still not used. For example:

export http_proxy='http://proxy.net:43' export https_proxy='http://proxy.net:43' export HTTP_PROXY='http://proxy.net:43' export HTTPS_PROXY='http://proxy.net:43'

Is there any workaround for this issue?

贡献者指南