k6
Specify how long the setup() function can run before it’s terminated and the test fails. If defined, the value must be positive. setupの制限時間を決められる デフォルトは60秒、環境変数K6_SETUP_TIMEOUTでも設定可能。 grafana.com
executor はどれでも設定可能
failedだから失敗数かと思ったらレートだった http_reqs: to measure requests リクエスト数 http_req_failed: to measure error rate レート http_req_duration: to measure duration 期間 grafana.com grafana.com
第二引数のjsonのkeyvalueで放り込む import http from 'k6/http'; export default function () { const res = http.get('https://test.k6.io'); console.log(JSON.stringify(res.headers)); } grafana.com grafana.com docs.datadoghq.com
timeUnitのデフォルトが1sなので、rateの値が実質rpsみたいな感じになりそう grafana.com なおk6 runのrpsオプションはあんまりお勧めされない grafana.com