X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fdcaegen2%2Fprh-testcases%2Fprh_tests.robot;h=8b7561aa48ac3e3e1ae00710a2504e8cfa07fe49;hb=ee72614cc6fe35737d24db1c99ceb13b7e5e54fd;hp=5988434b7beaa43989fd651ed735ac8b90306672;hpb=a896866aece6a4a2406c30bf36742b7aafcff4e5;p=integration%2Fcsit.git diff --git a/tests/dcaegen2/prh-testcases/prh_tests.robot b/tests/dcaegen2/prh-testcases/prh_tests.robot index 5988434b..8b7561aa 100644 --- a/tests/dcaegen2/prh-testcases/prh_tests.robot +++ b/tests/dcaegen2/prh-testcases/prh_tests.robot @@ -1,7 +1,7 @@ *** Settings *** Documentation Integration tests for PRH. ... PRH receive events from DMaaP and produce or not PNF_READY notification depends on required fields in received event. -Suite Setup Run keywords Create Headers AND Create sessions AND Set default PRH CBS config +Suite Setup Run keywords Create Headers AND Create sessions AND Set default PRH config Test Teardown Reset Simulators Test Timeout 2 minutes @@ -29,16 +29,16 @@ Simple registration event ${TEST_CASES_DIR}/ves-event-with-empty-additional-fields ${TEST_CASES_DIR}/ves-event-with-empty-attachment-point -Should not send PNF ready when DMaaP event is invalid +Should not send PNF ready when DMaaP event has missing required field [Documentation] PRH get from DMaaP event with missing required field [Tags] PRH Invalid event [Template] Verify event with missing required field is logged ${TEST_CASES_DIR}/ves-event-missing-field Should not send PNF ready when DMaaP event is not JSON array - [Documentation] Event from DMaaP is not JSON array + [Documentation] Event from DMaaP is not an array of JSON objects [Tags] PRH Invalid event - Verify incorrect JSON event is logged ${TEST_CASES_DIR}/ves-event-not-array + Verify incorrect JSON event is logged ${TEST_CASES_DIR}/ves-event-not-a-json-object Should not send PNF ready when AAI record doesn't exist [Documentation] PRH get from DMaaP valid event but given PNF doesn't exists in AAI @@ -53,7 +53,7 @@ Should not send PNF ready when AAI is not responding Should send PNF ready when logical link exists and replace it in AAI [Documentation] PRH gets event from DMaaP with an attachment point, PNF is related to a logical link in AAI [Tags] PRH Attachment point - [Template] Verify PNF ready sent and old logical link removed from AAI + [Template] Verify PNF ready sent and old logical link replaced in AAI ${TEST_CASES_DIR}/pnf-with-existing-logical-link ${TEST_CASES_DIR}/pnf-with-different-logical-link