nginx-apache-bench¶
Apachebench is a benchmark created to measure the webserver performance on HTTP protocol. This test runs apachebench against apache nginx
What It Tests¶
Test Apachebench on NGiNX
Preconditions¶
For
ostree enabled
image, it shall be unlocked viaostree admin unlock --hotfix
Test Parameters¶
Parameter |
Default |
Description |
---|---|---|
|
|
skip the install |
|
|
Number of requests to perform |
|
|
Number of multiple requests to make at a time |
Test Steps¶
cd ./automated/linux/nginx-apache-bench/
./apache-bench.sh -s "${SKIP_INSTALL}" -n "${NUMBER}" -c "${CONCURENT}"
Refer to apache-bench.yaml
for complete test definition and execution details.
Expected Results¶
The benchmark data for items as below are collected in output/result.txt
Time-taken-for-tests
Complete-requests
Failed-requests
Total-transferred
HTML-transferred
Requests-per-second
Time-per-request-mean
Time-per-request-concurent
Transfer-rate