From d99cfd9eaac88851d7efbb95292c2752755ae070 Mon Sep 17 00:00:00 2001 From: Myron Sosyak Date: Wed, 19 Sep 2018 14:10:57 +0100 Subject: Implement functionality for updating http client Implemented functionality for updating http client configuration. Extended http_ixload.py with functions for update page object and count of simulated users in http client on netTraffic. JIRA: YARDSTICK-1435 Change-Id: I9a0be226d4201d861d3a764864b42e5d87a4a305 Signed-off-by: Myron Sosyak Signed-off-by: Taras Chornyi --- ..._baremetal_http_ixload_1b_Requests-65000_Concurrency.yaml | 4 ++++ .../http_tests/HTTP_1b-requests_65000_concurrency.yaml | 12 ++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'samples/vnf_samples') 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 1c807ca53..7a9a265d6 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 @@ -22,6 +22,10 @@ scenarios: tg__0: trafficgen_1.yardstick vnf__0: vnf.yardstick options: + simulated_users: + uplink: [65000] + page_object: + uplink: ["/1b.html"] framesize: uplink: {64B: 100} downlink: {64B: 100} diff --git a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml index dcc11d55a..fec8b3316 100644 --- a/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml +++ b/samples/vnf_samples/traffic_profiles/http_tests/HTTP_1b-requests_65000_concurrency.yaml @@ -13,10 +13,8 @@ uplink_0: gateway: # will be taken from pod file http_client: - http_no_requests: "1000" # number of http iterations - http_concurency: "65000" # number of threads to be run - http_locator: "/1B.bin" # http locator to be read - attacker_tests: "False" # True : If attacker Test, False : Otherwise + simulated_users: {{ get(simulated_users, 'simulated_users.uplink_0', '65000') }} # number of threads to be run + page_object: {{ get(page_object, 'page_object.uplink_0', '/1b.html') }} # http locator to be read downlink_0: ip: @@ -33,10 +31,8 @@ uplink_1: gateway: http_client: - http_no_requests: "1000" - http_concurency: "65000" - http_locator: "/1B.bin" - attacker_tests: "False" + simulated_users: {{ get(simulated_users, 'simulated_users.uplink_1', '65000') }} # number of threads to be run + page_object: {{ get(page_object, 'page_object.uplink_1', '/1b.html') }} # http locator to be read downlink_1: ip: -- cgit 1.2.3-korg