aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormprzybys <marcin.przybysz@nokia.com>2020-02-19 08:14:09 +0000
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-02-25 11:15:28 +0000
commita06c81702f1c54b98acd0f743dcc14a31e257d46 (patch)
tree27f0381bb1514f67cebe210687bc87734f5beb9f /tests
parent038028c1ab4b6c641ba031feb38c854dd2c6926d (diff)
Add Test case for empty json send to VES eventBatch API
Issue-ID: INT-1453 Signed-off-by: Marcin Przybysz <marcin.przybysz@nokia.com> Change-Id: I3e3a23e5405f9ca79c65f33952880c561071bca1
Diffstat (limited to 'tests')
-rw-r--r--tests/dcaegen2/testcases/dcae_ves.robot5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dcaegen2/testcases/dcae_ves.robot b/tests/dcaegen2/testcases/dcae_ves.robot
index d53846c6..739c2bb2 100644
--- a/tests/dcaegen2/testcases/dcae_ves.robot
+++ b/tests/dcaegen2/testcases/dcae_ves.robot
@@ -67,6 +67,11 @@ Publish VES VoLTE Fault Batch Events
[Documentation] Post single event with valid data to /eventListener/v5/eventBatch endpoint and expect 202 Response Status Code
Send Request And Validate Response Publish Event To VES Collector ${http_session} ${VES_BATCH_EVENT_PATH} ${EVENT_BATCH_DATA_FILE} 202 ab305d54-85b4-a31b-7db2-fb6b9e546025
+Publish VES Batch Events with empty json
+ [Tags] DCAE-VESC-R1
+ [Documentation] Post empty json to /eventListener/v7/eventBatch endpoint and expect 400 Response Status Code
+ Send Request And Validate Response Publish Event To VES Collector ${http_session} ${VES_BATCH_EVENT_PATH} ${VES_EMPTY_JSON} 400
+
Publish VES Event With Invalid Method
[Tags] DCAE-VESC-R1
[Documentation] Use invalid Put instead of Post method to expect 405 Response Status Code