Skip to content

Instantly share code, notes, and snippets.

@kyoheiyazawa
Created November 14, 2018 17:39
Show Gist options
  • Save kyoheiyazawa/926e6f2adc1e793888d1cc09f8ba6141 to your computer and use it in GitHub Desktop.
Save kyoheiyazawa/926e6f2adc1e793888d1cc09f8ba6141 to your computer and use it in GitHub Desktop.
ab load testing

ab -k -c 200 -n 1200 <url>
-k = keep open
-c = concurrent requests
-n = number of requests to complete

By default, the max. number of concurrent requests seems to be 256 on Mac:
ulimit -a
This can likely be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment