aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/testcases/dcae_ves.robot
diff options
context:
space:
mode:
authormprzybys <marcin.przybysz@nokia.com>2020-02-18 13:33:33 +0000
committerMarcin Przybysz <marcin.przybysz@nokia.com>2020-02-25 10:16:19 +0000
commit86fabf65c621914e38458d5362c78f9bce79c3a9 (patch)
tree79eb659ba07c8d20be56141472e849f737723043 /tests/dcaegen2/testcases/dcae_ves.robot
parent855e78e9e4f14659509c92b3e265388211510851 (diff)
Add test case for empty json body send to vesListener API
Issue-ID: INT-1448 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: Ic5b5c7fc19c733fe60eb9ab31a870c9b3446d6fb
Diffstat (limited to 'tests/dcaegen2/testcases/dcae_ves.robot')
-rw-r--r--tests/dcaegen2/testcases/dcae_ves.robot9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/dcaegen2/testcases/dcae_ves.robot b/tests/dcaegen2/testcases/dcae_ves.robot
index e12097e2..c1635758 100644
--- a/tests/dcaegen2/testcases/dcae_ves.robot
+++ b/tests/dcaegen2/testcases/dcae_ves.robot
@@ -31,10 +31,15 @@ Publish Single VES VNF Measurement Event with wrong JSON
[Documentation] Post single event with invalid data to /eventListener/v7 endpoint and expect 400 Response Status Code
Send Request And Validate Response Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_INVALID_JSON_V7} 400
-Publish Single VES VNF Measurement Event with missing mandatory parameter domain
+Publish Single VES VNF Measurement Event with missing mandatory parameter
[Tags] DCAE-VESC-R1
[Documentation] Post single event with lack of one of the mandatory parameters "domain" to /eventListener/v7 endpoint and expect 400 Response Status Code
- Send Request And Validate Response Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_MISSING_MANDATORY_DOMAIN_V7} 400
+ Send Request And Validate Response Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_MISSING_MANDATORY_PARAMETER_V7} 400
+
+Publish Single VES VNF Measurement Event with empty json
+ [Tags] DCAE-VESC-R1
+ [Documentation] Post single event with empty json to /eventListener/v7 endpoint and expect 400 Response Status Code
+ Send Request And Validate Response Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_EMPTY_JSON} 400
Publish Single VES VNF Measurement Event with No Auth over HTTPS
[Tags] DCAE-VESC-R1