add WIP state
This commit is contained in:
commit
0b339c47a2
4 changed files with 61 additions and 0 deletions
9
ab.sh
Executable file
9
ab.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
reqs=100000
|
||||
concurrency=10
|
||||
url='https://example.org'
|
||||
fileprefix='example_org'
|
||||
useragent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1 apachebench"
|
||||
|
||||
# apache bench with basic authentication
|
||||
ab -A username:password -H "User-Agent: $useragent" -n $reqs -c $concurrency -g ${fileprefix}_$(date +%F_%H%M%S)_r-${reqs}_c-${concurrency}.gnuplot $url > ${fileprefix}_$(date +%F_%H%M%S)_r-${reqs}_c-${concurrency}.log
|
||||
Reference in a new issue