k6 · プロキシ設定

k6のプロキシ設定

Load-testing tool from Grafana. 下の設定で Eveses の住宅用プールに向けてください。地域指定はユーザー名の中にあるので、国を変えるのに他の設定を触る必要はありません。

proxy.eveses.com:12321 · SOCKS5 は 32325 · 199か国 · $7.35/GB から

注意

k6 has no proxy option in the script — it reads HTTP_PROXY and HTTPS_PROXY from the environment only, and it ignores lower-case variants on some platforms. Be aware that a load test through a metered residential pool bills every virtual user's traffic; datacenter IPs are the right pool for load work.

設定

# k6 reads the environment; there is no proxy option in the script.
export HTTPS_PROXY="http://eveses_user_country-us:[email protected]:12321"
export HTTP_PROXY="$HTTPS_PROXY"

k6 run script.js

k6に関する注意

Use datacenter or ISP IPs for load testing. Residential is metered by the gigabyte and a load test is, by design, a lot of gigabytes.

Only load-test infrastructure you own or have written permission to test.

k6を触らずに国を変える

ドイツeveses_user_country-de
30分固定eveses_user_country-de_session-ab12cd34_lifetime-30m

地域とセッションはユーザー名の中にあり、ホストやポートにはありません。国を変えてもこのページの設定はそのままで、書き換えるのは1つの文字列だけです。199か国を指定でき、その多くでは都市・州のトークンも使えます。

よくある質問

k6でプロキシを設定するには?›
proxy.eveses.com に向け、HTTP ならポート12321、SOCKS5 なら32325を使い、Eveses のプロキシ用ユーザー名とパスワードで認証します。正確な書き方は上のスニペットにあります。 k6 has no proxy option in the script — it reads HTTP_PROXY and HTTPS_PROXY from the environment only, and it ignores lower-case variants on some platforms. Be aware that a load test through a metered residential pool bills every virtual user's traffic; datacenter IPs are the right pool for load work.
k6の出口の国を選ぶには?›
ホストを変えるのではなく、ユーザー名に地域トークンを付けます。eveses_user_country-de ならドイツ、eveses_user_country-us なら米国です。この方法で199か国を指定でき、都市や州のトークンでさらに絞れます。k6側の設定はそれ以外何も変わりません。
k6でリクエスト間に同じIPを保つには?›
セッショントークンを足します — eveses_user_country-us_session-ab12cd34_lifetime-30m。このユーザー名を使うリクエストは、有効期間が切れるまで同じアドレスから出ます。トークンを外せば、リクエストごとに新しいIPへローテーションします。
料金は?›
住宅用トラフィックは Eveses ウォレットからGB単位で課金されます。1 GB で$7.35/GB、大容量では$2.57/GB まで下がります。ツールごとの料金はなく、同じ認証情報がすべてのツールで同時に使えます。

ほかの連携

住宅用IPでk6を動かす

1 GB で$7.35/GB、大容量なら$2.57/GB — どのツールでも同じ認証情報。

プロキシを入手 →