summaryrefslogtreecommitdiff
path: root/automated/linux/httperf-client/httperf-client.yaml
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@linaro.org>2016-10-20 14:25:32 +0200
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-01-04 14:51:10 +0000
commit7eeb6135acbc300cc163fe42d178e593891fadb5 (patch)
tree8a7b639347e1500a006a3d83e5e6d8e7ae8dff64 /automated/linux/httperf-client/httperf-client.yaml
parent69bca04bc21886fd228f2e37e075b1d9f3f069db (diff)
httperf-client: client side of http performance tests
Script and YAML file to setup the host to run httperf against an http server. The tests measure the performance of the server depending on the number of cores. This script is meant to run in a multi-node configuration, where it will coordinate with a server side of the test in order to determine when the tests can start, and when they are done. Change-Id: I3af563086a8fba64f1b0f32c0878761997d21158 Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org>
Diffstat (limited to 'automated/linux/httperf-client/httperf-client.yaml')
-rw-r--r--automated/linux/httperf-client/httperf-client.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/automated/linux/httperf-client/httperf-client.yaml b/automated/linux/httperf-client/httperf-client.yaml
new file mode 100644
index 0000000..f8519ec
--- /dev/null
+++ b/automated/linux/httperf-client/httperf-client.yaml
@@ -0,0 +1,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