summaryrefslogtreecommitdiff
path: root/automated/linux/nginx-apache-bench/apache-bench.yaml
blob: 3e76f1b6ce84db4a2c56d067cbe91aa36bdc5097 (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: ngingx-apache-bench
    description: "Apachebench is a benchmark created to measure
                  the webserver performance on HTTP protocol. This
                  test runs apachebench against apache nginx"
    maintainer:
        - milosz.wasilewski@linaro.org
    os:
        - debian
        - centos
    scope:
        - performance
    devices:
        - mustang
        - overdrive
        - thunderX
        - d02
        - d03
        - d05

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/nginx-apache-bench/
        - ./apache-bench.sh -s "${SKIP_INSTALL}" -n "${NUMBER}" -c "${CONCURENT}"
        - ../../utils/send-to-lava.sh ./output/result.txt