文件名称:k6_load_testing_with_influxdb_grafana:使用Influxdb + grafana可视化的dockerize k6负载测试示例
文件大小:5KB
文件格式:ZIP
更新时间:2024-04-22 19:54:12
javascript influxdb grafana load-testing k6
必需的安装 * Docker Deamon 如何进行测试? vus和duration参数必须定义 命令vus=arg0 duration=arg1 file=arg2 docker-compose up 用k6计算RPS Request Rate = (VU * R) / T T = (R * http_req_duration) + 1s Request Rate: measured by the number of requests per second (RPS) VU: the number of virtual users R: the number of requests per VU iteration T: a value larger than the time needed to complete a VU iteration 例如: 执行vus="10"
【文件预览】:
k6_load_testing_with_influxdb_grafana-master
----package.json(585B)
----k6()
--------request_method()
--------scripts()
----docker-compose.yml(930B)
----.gitignore(50B)
----README.md(1KB)