Created
March 2, 2017 13:34
-
-
Save FachrulCH/227f3c2445d3dd0594fb547d84f32333 to your computer and use it in GitHub Desktop.
Apache benchmark ala ala :D
This file contains 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
#!/bin/bash | |
ab -k -c 350 -n 20000 localhost:8888/api/v1/loadtest/ | |
# Artinya: | |
# membuat 350 koneksi concurrency jumlah user yg buka web bersamaan | |
# dengan jumlah request sebanyak 20.000 | |
# jumlah -n dengan -c yang tinggi akan berbanding lurus dengan stress test yg diterima server | |
# -k hanya untuk enable fungsional "KeepAlive" seperti pada browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment