summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn O Loughlin <john.oloughlin@intel.com>2019-01-22 10:57:41 +0000
committerJohn O Loughlin <john.oloughlin@intel.com>2019-01-29 15:28:35 +0000
commit00720363854ad15f810497297f7e4bed7eba7e29 (patch)
treeff0cb2cfd7ce5ec095538e70431130007d9b4833
parent178bc1e7ca1c0c7329eb5589aab3318946df8d48 (diff)
Concurrency testcases to be configured over cli
This patch will allow the request size to be passed through cli rather than having a seperate file for option. yardstick -d task start --task-args='{page_size: "1b"}' <path to config> JIRA: YARDSTICK-1554 Change-Id: I085d6d908533fb9a7a7566c7c669cb45cf1021e5 Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
-rw-r--r--samples/vnf_samples/nsut/vfw/tc_baremetal_http_ixload_1b_Requests-65000_Concurrency.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/vnf_samples/nsut/vfw/tc_baremetal_http_ixload_1b_Requests-65000_Concurrency.yaml b/samples/vnf_samples/nsut/vfw/tc_baremetal_http_ixload_1b_Requests-65000_Concurrency.yaml
index 3596a1d15..8a14f4ce2 100644
--- a/samples/vnf_samples/nsut/vfw/tc_baremetal_http_ixload_1b_Requests-65000_Concurrency.yaml
+++ b/samples/vnf_samples/nsut/vfw/tc_baremetal_http_ixload_1b_Requests-65000_Concurrency.yaml
@@ -1,4 +1,4 @@
-# Copyright (c) 2016-2017 Intel Corporation
+# Copyright (c) 2016-2019 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-
+{% set page_size = page_size or "1b" %}
---
schema: yardstick:task:0.1
scenarios:
@@ -25,7 +25,7 @@ scenarios:
simulated_users:
uplink: [65000]
page_object:
- uplink: ["/1b.html"] #supports /4k /8k /16k /32k /64k /128k....
+ uplink: ["/{{ page_size }}.html"] #supports /1b /4k /8k /16k /32k /64k /128k....
framesize:
uplink: {64B: 100}
downlink: {64B: 100}