X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fdcaegen2%2Fprh-testcases%2Fprh_tests.robot;h=17db590fb0e7c15edbe9796f8ec534f704328f91;hb=d1a3a8cca3be661c9cff80615baeb8d456424d56;hp=2491bd1b256384a384f72fbaaef97230cc40a052;hpb=86d3211823bf4cb79d296b659551fb7785bd5c2d;p=integration%2Fcsit.git diff --git a/tests/dcaegen2/prh-testcases/prh_tests.robot b/tests/dcaegen2/prh-testcases/prh_tests.robot index 2491bd1b..17db590f 100644 --- a/tests/dcaegen2/prh-testcases/prh_tests.robot +++ b/tests/dcaegen2/prh-testcases/prh_tests.robot @@ -1,13 +1,13 @@ *** 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 +Suite Setup Run keywords Create Headers AND Create sessions AND Set default PRH CBS config Test Teardown Reset Simulators Test Timeout 2 minutes -Library resources/PrhLibrary.py Resource resources/prh_sessions.robot Resource resources/prh_library.robot +Resource resources/prh_config_library.robot *** Variables *** ${TEST_CASES_DIR} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets @@ -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