grafana/k6

Unable to set up proxy

Fermée

#4 432 ouverte le 8 juil. 2022

 (6 commentaires) (0 réaction) (0 personne assignée)Go (1 537 forks)batch import
area: browserbrowser: user requestbuggood first issuehacktoberfesttriage

Métriques du dépôt

Stars
 (30 564 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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?

Guide contributeur