Last active
December 19, 2016 04:07
-
-
Save MikeNGarrett/2154f67ea0a5bc7abf75ebd334168323 to your computer and use it in GitHub Desktop.
Load Testing Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Siege attempts to recreate real traffic by using a CSV of urls to hit. | |
# This allows you to remove requests for assets, if you're running a CDN. | |
# | |
# c = concurrent users | |
# i = "like the internet would visit" | |
# b = benchmark (no delay needed) | |
# t = time | |
# f = file with urls 1 per line | |
siege -c100 -i -b -t120S -f urls.csv | |
# Another option is Apache's AB | |
# It's a benchmarking tool for hitting a single url to stress-test the server. | |
# | |
# r = ignore failed requests | |
# k = enable keep-alive | |
# c = # of concurrent users | |
# n = # of requests for the entire session | |
ab -r -k -c 128 -n 1280 http://example.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment