mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 11:06:00 +02:00
loadtest: add page (#6923)
This commit is contained in:
parent
bc872a5965
commit
43c9164d69
1 changed files with 16 additions and 0 deletions
16
pages/common/loadtest.md
Normal file
16
pages/common/loadtest.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# loadtest
|
||||
|
||||
> Run a load test on the selected HTTP or WebSockets URL.
|
||||
> More information: <https://github.com/alexfernandez/loadtest>.
|
||||
|
||||
- Run with concurrent users and a specified amount of requests per second:
|
||||
|
||||
`loadtest --concurrency {{10}} --rps {{200}} {{https://example.com}}`
|
||||
|
||||
- Run with a custom HTTP header:
|
||||
|
||||
`loadtest --headers "{{accept:text/plain;text-html}}" {{https://example.com}}`
|
||||
|
||||
- Run with a specific HTTP method:
|
||||
|
||||
`loadtest --method {{GET}} {{https://example.com}}`
|
Loading…
Add table
Reference in a new issue