chmod +x ab;
./ab -n 10000 -c 900 -s 300 ${url}
-n : total number of requests -c : concurrent requests ( 900 simultaneously ) -s : timeout in second
${url}: you link . must finish by slash if it is only domain name.
alias ab_in_k8s='kubectl run test-load --rm --tty -i --restart='Never' --image devth/alpine-bench --command -- /go/bin/main' | |
ab_in_k8s $@ |
chmod +x ab;
./ab -n 10000 -c 900 -s 300 ${url}
-n : total number of requests -c : concurrent requests ( 900 simultaneously ) -s : timeout in second
${url}: you link . must finish by slash if it is only domain name.