2 Resource ./resources/dcae_keywords.robot
4 VES Collector HTTP Health Check
5 [Tags] DCAE-VESC-R1 DCAE-VESC-HC
6 [Documentation] Run healthcheck over HTTP
7 Override Collector Properties ${VES_BACKWARDS_COMPATIBILITY_PROPERTIES}
8 Run Healthcheck ${http_session}
10 Publish Single VES VNF Measurement Event API V7
12 [Documentation] Post single event with valid data to /eventListener/v7 endpoint and expect 200 Response Status Code
13 Send Request And Validate Response Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_VALID_JSON_V7} 200
15 Publish Single VES VNF Measurement Event API V7 DmaaP response code mock as 404, expected VES response code 503
17 [Documentation] Post single event with valid data to /eventListener/v7 endpoint and expect 503 Response Status Code
18 Set Successfull Dmaap Code 404
19 Send Request And Validate Response And Error Message Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_VALID_JSON_V7} 503 ${ERROR_MESSAGE_CODE}
21 Publish Single VES VNF Measurement Event API V7 DmaaP response code mock as 408, expected VES response code 503
23 [Documentation] Post single event with valid data to /eventListener/v7 endpoint and expect 503 Response Status Code
24 Set Successfull Dmaap Code 408
25 Send Request And Validate Response And Error Message Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_VALID_JSON_V7} 503 ${ERROR_MESSAGE_CODE}
27 Publish Single VES VNF Measurement Event API V7 DmaaP response code mock as 429, expected VES response code 503
29 [Documentation] Post single event with valid data to /eventListener/v7 endpoint and expect 503 Response Status Code
30 Set Successfull Dmaap Code 429
31 Send Request And Validate Response And Error Message Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_VALID_JSON_V7} 503 ${ERROR_MESSAGE_CODE}
33 Publish Single VES VNF Measurement Event API V7 DmaaP response code mock as 502, expected VES response code 503
35 [Documentation] Post single event with valid data to /eventListener/v7 endpoint and expect 503 Response Status Code
36 Set Successfull Dmaap Code 502
37 Send Request And Validate Response And Error Message Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_VALID_JSON_V7} 503 ${ERROR_MESSAGE_CODE}
39 Publish Single VES VNF Measurement Event API V7 DmaaP response code mock as 503, expected VES response code 503
41 [Documentation] Post single event with valid data to /eventListener/v7 endpoint and expect 503 Response Status Code
42 Set Successfull Dmaap Code 503
43 Send Request And Validate Response And Error Message Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_VALID_JSON_V7} 503 ${ERROR_MESSAGE_CODE}
45 Publish Single VES VNF Measurement Event API V7 DmaaP response code mock as 504, expected VES response code 503
47 [Documentation] Post single event with valid data to /eventListener/v7 endpoint and expect 503 Response Status Code
48 Set Successfull Dmaap Code 504
49 Send Request And Validate Response And Error Message Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_VALID_JSON_V7} 503 ${ERROR_MESSAGE_CODE}
51 Publish Single VES VNF Measurement Event API V7 DmaaP response code mock as 413, expected VES response code 413
53 [Documentation] Post single event with valid data to /eventListener/v7 endpoint and expect 413 Response Status Code
54 Set Successfull Dmaap Code 413
55 Send Request And Validate Response And Error Message Publish Event To VES Collector ${http_session} ${VES_EVENTLISTENER_V7} ${VES_VALID_JSON_V7} 413 ${ERROR_MESSAGE_CODE}
57 Publish VES Batch Event With Different Domain Parameters
59 [Documentation] Post batch event with two different domain fileds data to /eventListener/v7/eventBatch endpoint, expect 400 Response Status Code and "Different value of domain fields in Batch Event" message
60 Send Request And Validate Response And Error Message Publish Event To VES Collector ${http_session} ${VES_BATCH_EVENT_ENDPOINT_V7} ${VES_BATCH_TWO_DIFFERENT_DOMAIN} 400 Different value of domain fields in Batch Event