Milosz Wasilewski | 16e827c | 2016-11-03 23:51:53 +0000 | [diff] [blame] | 1 | metadata: |
| 2 | format: Lava-Test Test Definition 1.0 |
| 3 | name: apache-apache-bench |
| 4 | description: "Apachebench is a benchmark created to measure |
| 5 | the webserver performance on HTTP protocol. This |
| 6 | test runs apachebench against apache webserver" |
| 7 | maintainer: |
| 8 | - milosz.wasilewski@linaro.org |
| 9 | os: |
| 10 | - debian |
| 11 | - ubuntu |
| 12 | - centos |
| 13 | - fedora |
| 14 | scope: |
| 15 | - functional |
| 16 | devices: |
| 17 | - mustang |
| 18 | - overdrive |
| 19 | - d02 |
| 20 | - d03 |
| 21 | |
| 22 | params: |
| 23 | SKIP_INSTALL: "False" |
| 24 | # Number of requests to perform |
| 25 | NUMBER: 1000 |
| 26 | # Number of multiple requests to make at a time |
| 27 | CONCURENT: 100 |
| 28 | |
| 29 | run: |
| 30 | steps: |
| 31 | - cd ./automated/linux/apache-apache-bench/ |
| 32 | - ./apache-bench.sh -s "${SKIP_INSTALL}" -n "${NUMBER}" -c "${CONCURENT}" |
| 33 | - ../../utils/send-to-lava.sh ./output/result.txt |