mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 02:50:05 +00:00
Update cheatsheets
This commit is contained in:
21
loadtest
Normal file
21
loadtest
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user