summaryrefslogtreecommitdiff
path: root/automated/linux/apache-apache-bench/apache-bench.yaml
blob: df5942fc010f518ced5606ecba04e86b30a4ea7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
metadata:
    format: Lava-Test Test Definition 1.0
    name: apache-apache-bench
    description: "Apachebench is a benchmark created to measure
                  the webserver performance on HTTP protocol. This
                  test runs apachebench against apache webserver"
    maintainer:
        - milosz.wasilewski@linaro.org
    os:
        - debian
        - ubuntu
        - centos
        - fedora
    scope:
        - functional
    devices:
        - mustang
        - overdrive
        - d02
        - d03

params:
    SKIP_INSTALL: "False"
    # Number of requests to perform
    NUMBER: 1000
    # Number of multiple requests to make at a time
    CONCURENT: 100

run:
    steps:
        - cd ./automated/linux/apache-apache-bench/
        - ./apache-bench.sh -s "${SKIP_INSTALL}" -n "${NUMBER}" -c "${CONCURENT}"
        - ../../utils/send-to-lava.sh ./output/result.txt