ab: add CSV example and update pt_BR translation (#11931)

* ab: add CSV example

* ab: update pt_BR translation

* ab: leave values as part of the commands
This commit is contained in:
Vitor Henrique
2023-12-31 04:18:26 -03:00
committed by GitHub
parent 8810d911fe
commit c5508a288e
15 changed files with 56 additions and 44 deletions

View File

@@ -5,15 +5,15 @@
- 向目标 URL 执行 100 次 HTTP GET 请求:
`ab -n {{100}} {{url}}`
`ab -n 100 {{url}}`
- 使用 10 个并发请求,同时向目标 URL 执行 100 次 HTTP GET 请求:
`ab -n {{100}} -c {{10}} {{url}}`
`ab -n 100 -c 10 {{url}}`
- 使用来自文件的 JSON 负载对 URL 执行 100 个 HTTP POST 请求:
`ab -n {{100}} -T {{application/json}} -p {{path/to/file.json}} {{url}}`
`ab -n 100 -T {{application/json}} -p {{path/to/file.json}} {{url}}`
- 使用 HTTP [K]eep Alive即在一个 HTTP 会话中执行多个请求: