diff options
author | Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> | 2021-02-16 16:59:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-02-16 16:59:37 +0000 |
commit | f28a4e8c9ac2278890b3b6d0dcaa481880154f28 (patch) | |
tree | cd3902fa85ccfba2769fed6a5449746430d4c6d8 /tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot | |
parent | e3289284b5dd0a6cc31b71cd87aab2b102a1addc (diff) | |
parent | 3316f7cb264b0263b3ed473d96614d1b642567fc (diff) |
Merge "Update dcaegen2-collectors-hv-ves FOR loop syntax"
Diffstat (limited to 'tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot')
-rw-r--r-- | tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot b/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot index fee8bfd8..bab8a907 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot +++ b/tests/dcaegen2-collectors-hv-ves/testcases/resources/common-keywords.robot @@ -2,6 +2,7 @@ # csit-dcaegen2-collectors-hv-ves # ================================================================================ # Copyright (C) 2018-2019 NOKIA +# Modification copyright (C) 2021 Samsung Electronics Co., Ltd. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -53,11 +54,11 @@ Get xNF Simulators Using Valid Certificates Send Messages From xNF Simulators [Arguments] ${XNF_HOSTS_LIST} ${MESSAGE_FILEPATH} - :FOR ${HOST} IN @{XNF_HOSTS_LIST} - \ ${XNF_SIM_API_ACCESS}= Get xNF Sim Api Access Url ${HTTP_METHOD_URL} ${HOST} - \ ${XNF_SIM_API_URL}= Catenate SEPARATOR= ${XNF_SIM_API_ACCESS} ${XNF_SIM_API_PATH} - \ Send messages ${XNF_SIM_API_URL} ${MESSAGE_FILEPATH} - + FOR ${HOST} IN @{XNF_HOSTS_LIST} + ${XNF_SIM_API_ACCESS}= Get xNF Sim Api Access Url ${HTTP_METHOD_URL} ${HOST} + ${XNF_SIM_API_URL}= Catenate SEPARATOR= ${XNF_SIM_API_ACCESS} ${XNF_SIM_API_PATH} + Send messages ${XNF_SIM_API_URL} ${MESSAGE_FILEPATH} + END VES-HV Collector Test Shutdown Reset DCAE App Simulator ${DEFAULT_PERF3GPP_TOPIC} |