summaryrefslogtreecommitdiff
path: root/automated/linux/httperf-client/httperf-client.yaml
blob: f8519ec319b83c0201baed8e8f95b2fd7f580bb1 (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
34
35
36
37
metadata:
    name: httperf-runner
    format: Lava-Test-Shell Test Definition 1.0
    description: Run httperf against a web webserver to measure performance
    environment:
        - lava-test-shell
    maintainer:
        - josep.puigdemont@linaro.org
    os:
        - debian
        - ubuntu
        - fedora
        - centos
    devices:
        - x86

install:
    deps:
        - bash
        - ethtool
        - httperf
        - python-argparse
        - wget

params:
        INITIAL_RATE: 10000
        INITIAL_STEP: 10000
        MY_IP: 192.168.1.1
        SERVER_IP: 192.168.1.4

run:
    steps:
        - export VLAND_NAME
        - export INITIAL_RATE INITIAL_STEP
        - export SERVER_IP MY_IP
        - echo $VLAND_NAME, $INITIAL_RATE, $INITIAL_STEP
        - lava-test-case httperf-client --shell ./automated/linux/httperf-client/httperf-client.sh