diff options
author | Michal Banka <michal.banka@nokia.com> | 2020-08-20 15:18:56 +0200 |
---|---|---|
committer | Michal Banka <michal.banka@nokia.com> | 2020-08-20 15:19:01 +0200 |
commit | 6ca08114631d139902ed556a079c7893aa518a68 (patch) | |
tree | a25d6b6f802ca1b948acc4ac8a9fbb06c96ad1e1 /tests/dcaegen2/testcases/resources/dcae_keywords.robot | |
parent | 3de1a5d588ce1748b5cadbd01769e7f8727410ad (diff) |
Add csit tests for stndDefined validation in VES
Change-Id: Ie49a4e2000fb8e15c1a392ddeded7ddba2673a96
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Issue-ID: DCAEGEN2-2264
Diffstat (limited to 'tests/dcaegen2/testcases/resources/dcae_keywords.robot')
-rw-r--r-- | tests/dcaegen2/testcases/resources/dcae_keywords.robot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dcaegen2/testcases/resources/dcae_keywords.robot b/tests/dcaegen2/testcases/resources/dcae_keywords.robot index fb5fc1d6..b45ee57d 100644 --- a/tests/dcaegen2/testcases/resources/dcae_keywords.robot +++ b/tests/dcaegen2/testcases/resources/dcae_keywords.robot @@ -141,14 +141,14 @@ Publish Event To VES Collector With Put Method [Return] ${resp} Send Request And Validate Response And Error Message - [Documentation] Post singel event to passed url and validate received response code and content + [Documentation] Post single event to passed url and validate received response code and content [Arguments] ${keyword} ${session} ${evtpath} ${evtjson} ${resp_code} ${msg_content} ${resp}= Send Request And Validate Response ${keyword} ${session} ${evtpath} ${evtjson} ${resp_code} ${error_message}= Set Variable ${resp.json()['requestError']['ServiceException']['text']} Should Be Equal As Strings ${msg_content} ${error_message} Send Request And Validate Response - [Documentation] Post singel event to passed url with passed data and validate received response + [Documentation] Post single event to passed url with passed data and validate received response [Arguments] ${keyword} ${session} ${evtpath} ${evtjson} ${resp_code} ${msg_code}=None ${topic}=None ${evtdata}= Get Data From File ${evtjson} ${resp}= Run Keyword ${keyword} ${session} ${evtpath} ${evtdata} @@ -160,7 +160,7 @@ Send Request And Validate Response [Return] ${resp} Check Whether Message Received - [Documentation] Validare if message has been received + [Documentation] Validate if message has been received [Arguments] ${msg_code} ${topic} ${ret}= Run Keyword If '${topic}' != 'None' DMaaP Message Receive On Topic ${msg_code} ${topic} ... ELSE DMaaP Message Receive ${msg_code} |