Skip to content

Instantly share code, notes, and snippets.

@ufuk
Last active April 14, 2023 16:37
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ufuk/a944ba6bb30da9cb3405c6561dc6accd to your computer and use it in GitHub Desktop.
Save ufuk/a944ba6bb30da9cb3405c6561dc6accd to your computer and use it in GitHub Desktop.
Siege command to benchmark POST method with JSON payload and headers example. ("-c" for concurrent request count) ("-t" for time) ("-H" for header)
siege -c50 -t5S -H 'Content-Type: application/json' -H 'access-token: ...' 'http://localhost:8080/... POST {"...": "...", ...}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment