Skip to content

Instantly share code, notes, and snippets.

@samarpanda
Created July 5, 2019 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samarpanda/d4d8b6f155aaa3f6c7cbedaaf4332fdb to your computer and use it in GitHub Desktop.
Save samarpanda/d4d8b6f155aaa3f6c7cbedaaf4332fdb to your computer and use it in GitHub Desktop.
Server Load testing using apache benchmark(ab)

Apache Benchmark

ab -n 50 -c 10 -H "Accept-Encoding: gzip,deflate" https://example.com

-n for number of requests -c concurrent request -H Pass any specific headers

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