Skip to content

Instantly share code, notes, and snippets.

@jbutko
Created June 6, 2017 08:56
Show Gist options
  • Save jbutko/c0778cb96e76f7f925e15439d218263c to your computer and use it in GitHub Desktop.
Save jbutko/c0778cb96e76f7f925e15439d218263c to your computer and use it in GitHub Desktop.
Load balance test with apache ab bench test
# -n number of request to test
# -c number of concurrent requests
# -H authorization header
ab -n 1000 -c 1000 -H "Authorization: someBearerToken" http://localhost:5000/api/v1/someEndpoint
# via https://www.petefreitag.com/item/689.cfm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment