Concurrency testcases to be configured over cli 57/66557/3
authorJohn O Loughlin <john.oloughlin@intel.com>
Tue, 22 Jan 2019 10:57:41 +0000 (10:57 +0000)
committerJohn O Loughlin <john.oloughlin@intel.com>
Tue, 29 Jan 2019 15:28:35 +0000 (15:28 +0000)
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>
samples/vnf_samples/nsut/vfw/tc_baremetal_http_ixload_1b_Requests-65000_Concurrency.yaml

index 3596a1d..8a14f4c 100644 (file)
@@ -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}