Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Integration tests for PRH. |
| 3 | ... PRH receive events from DMaaP and produce or not PNF_READY notification depends on required fields in received event. |
grabinsk | a896866 | 2019-06-26 15:01:52 +0200 | [diff] [blame] | 4 | Suite Setup Run keywords Create Headers AND Create sessions AND Set default PRH CBS config |
pkaras | c7abba8 | 2018-10-22 12:22:35 +0200 | [diff] [blame] | 5 | Test Teardown Reset Simulators |
grabinsk | db4c4a5 | 2019-05-22 14:59:02 +0200 | [diff] [blame] | 6 | Test Timeout 2 minutes |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 7 | |
grabinsk | c68c2ee | 2019-06-19 12:36:42 +0200 | [diff] [blame] | 8 | Resource resources/prh_sessions.robot |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 9 | Resource resources/prh_library.robot |
grabinsk | a896866 | 2019-06-26 15:01:52 +0200 | [diff] [blame] | 10 | Resource resources/prh_config_library.robot |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 11 | |
| 12 | *** Variables *** |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 13 | ${TEST_CASES_DIR} %{WORKSPACE}/tests/dcaegen2/prh-testcases/assets |
| 14 | |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 15 | *** Test Cases *** |
Marcin Migdal | c47ac0f | 2019-06-10 14:36:50 +0200 | [diff] [blame] | 16 | BBS case event - attachment point |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 17 | [Documentation] PRH get from DMaaP valid event with valid attachment point |
| 18 | [Tags] PRH Valid event Attachment point |
| 19 | [Template] Verify PNF ready sent and logical link created |
| 20 | ${TEST_CASES_DIR}/ves-event-with-attachment-point |
| 21 | |
| 22 | Simple registration event |
| 23 | [Documentation] PRH get from DMaaP valid event without valid attachment point |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 24 | [Tags] PRH Valid event |
grabinsk | 0fc9eab | 2019-05-23 13:34:38 +0200 | [diff] [blame] | 25 | [Template] Verify PNF ready sent |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 26 | ${TEST_CASES_DIR}/ves-event-without-additional-fields |
Joanna Jeremicz | 4a70dd3 | 2019-06-25 13:39:33 +0200 | [diff] [blame] | 27 | ${TEST_CASES_DIR}/ves-event-with-missing-IP-addresses |
| 28 | ${TEST_CASES_DIR}/ves-event-with-only-IP-addresses |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 29 | ${TEST_CASES_DIR}/ves-event-with-empty-additional-fields |
| 30 | ${TEST_CASES_DIR}/ves-event-with-empty-attachment-point |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 31 | |
grabinsk | 3bee489 | 2019-07-17 08:43:33 +0200 | [diff] [blame] | 32 | Should not send PNF ready when DMaaP event has missing required field |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 33 | [Documentation] PRH get from DMaaP event with missing required field |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 34 | [Tags] PRH Invalid event |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 35 | [Template] Verify event with missing required field is logged |
| 36 | ${TEST_CASES_DIR}/ves-event-missing-field |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 37 | |
Joanna Jeremicz | 4a70dd3 | 2019-06-25 13:39:33 +0200 | [diff] [blame] | 38 | Should not send PNF ready when DMaaP event is not JSON array |
grabinsk | 3bee489 | 2019-07-17 08:43:33 +0200 | [diff] [blame] | 39 | [Documentation] Event from DMaaP is not an array of JSON objects |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 40 | [Tags] PRH Invalid event |
grabinsk | 3bee489 | 2019-07-17 08:43:33 +0200 | [diff] [blame] | 41 | Verify incorrect JSON event is logged ${TEST_CASES_DIR}/ves-event-not-a-json-object |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 42 | |
Joanna Jeremicz | 4a70dd3 | 2019-06-25 13:39:33 +0200 | [diff] [blame] | 43 | Should not send PNF ready when AAI record doesn't exist |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 44 | [Documentation] PRH get from DMaaP valid event but given PNF doesn't exists in AAI |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 45 | [Tags] PRH Missing AAI record |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 46 | Verify missing AAI record is logged ${TEST_CASES_DIR}/aai-missing-entry |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 47 | |
Joanna Jeremicz | 4a70dd3 | 2019-06-25 13:39:33 +0200 | [diff] [blame] | 48 | Should not send PNF ready when AAI is not responding |
kurczews | 859154a | 2019-04-26 11:31:51 +0200 | [diff] [blame] | 49 | [Documentation] PRH get from DMaaP valid event but AAI is not responding |
| 50 | [Tags] PRH AAI not responding |
| 51 | Verify AAI not responding is logged ${TEST_CASES_DIR}/aai-not-responding |
grabinsk | 0fc9eab | 2019-05-23 13:34:38 +0200 | [diff] [blame] | 52 | |
Joanna Jeremicz | 4a70dd3 | 2019-06-25 13:39:33 +0200 | [diff] [blame] | 53 | Should send PNF ready when logical link exists and replace it in AAI |
| 54 | [Documentation] PRH gets event from DMaaP with an attachment point, PNF is related to a logical link in AAI |
| 55 | [Tags] PRH Attachment point |
Joanna Jeremicz | c4a9b7e | 2019-07-02 14:02:19 +0200 | [diff] [blame] | 56 | [Template] Verify PNF ready sent and old logical link replaced in AAI |
Joanna Jeremicz | 4a70dd3 | 2019-06-25 13:39:33 +0200 | [diff] [blame] | 57 | ${TEST_CASES_DIR}/pnf-with-existing-logical-link |
| 58 | ${TEST_CASES_DIR}/pnf-with-different-logical-link |
| 59 | |
Marcin Migdal | c47ac0f | 2019-06-10 14:36:50 +0200 | [diff] [blame] | 60 | BBS case event - Re-registration |
Joanna Jeremicz | 4a70dd3 | 2019-06-25 13:39:33 +0200 | [diff] [blame] | 61 | [Documentation] After registered PNF, PRH reads another one PRH event with registration event |
Marcin Migdal | c47ac0f | 2019-06-10 14:36:50 +0200 | [diff] [blame] | 62 | [Tags] PRH Valid event Re registraiton |
| 63 | [Template] Verify PNF re registration |
micdzied | 9c7d8f0 | 2019-06-17 14:08:27 +0200 | [diff] [blame] | 64 | ${TEST_CASES_DIR}/re-registration |
| 65 | |
Joanna Jeremicz | 4a70dd3 | 2019-06-25 13:39:33 +0200 | [diff] [blame] | 66 | Should send PNF ready when the associated service instance is non-Active |
| 67 | [Documentation] PNF has a non active service instance, should send PNF_READY event |
| 68 | [Tags] PRH Service instance non active |
| 69 | [Template] Verify PNF ready sent when service instance non active |
| 70 | ${TEST_CASES_DIR}/service-instance-non-active |
| 71 | |
micdzied | 9c7d8f0 | 2019-06-17 14:08:27 +0200 | [diff] [blame] | 72 | PRH logging level change |
grabinsk | ad1421e | 2019-06-21 15:08:21 +0200 | [diff] [blame] | 73 | [Documentation] ad-hoc PRH logging level change using rest endpoint |
micdzied | 9c7d8f0 | 2019-06-17 14:08:27 +0200 | [diff] [blame] | 74 | [Tags] PRH logging level |
grabinsk | c68c2ee | 2019-06-19 12:36:42 +0200 | [diff] [blame] | 75 | Verify change logging level |