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:
@@ -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 会话中执行多个请求:
|
||||
|
||||
|
Reference in New Issue
Block a user