diff options
author | pkaras <piotr.karas@nokia.com> | 2018-10-17 15:08:34 +0200 |
---|---|---|
committer | pkaras <piotr.karas@nokia.com> | 2018-10-19 10:27:41 +0200 |
commit | 55d368698ab39f8a039831f9d244f01742aac419 (patch) | |
tree | cebea8a33e90ee501ae22a71605088fd1420cc78 /tests/dcaegen2/prh-testcases/resources/prh_library.robot | |
parent | 0c84081327f5a8e116ad62a641d353bfc5d07704 (diff) |
SSL setup for AAI and simulator
Change-Id: I6b29013032809e8ded110d06d132f765cfc13a7d
Issue-ID: DCAEGEN2-878
Signed-off-by: piotr.karas <piotr.karas@nokia.com>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources/prh_library.robot')
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/prh_library.robot | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/prh_library.robot b/tests/dcaegen2/prh-testcases/resources/prh_library.robot index fcad88d7..b7653671 100644 --- a/tests/dcaegen2/prh-testcases/resources/prh_library.robot +++ b/tests/dcaegen2/prh-testcases/resources/prh_library.robot @@ -12,8 +12,11 @@ Create header Create sessions Create Session dmaap_session ${DMAAP_SIMULATOR_URL} Set Suite Variable ${suite_dmaap_session} dmaap_session - Create Session aai_session ${AAI_SIMULATOR_URL} - Set Suite Variable ${suite_aai_session} aai_session + Create Session aai_setup_session ${AAI_SIMULATOR_SETUP_URL} + Set Suite Variable ${aai_setup_session} aai_setup_session + +Reset Simulators + Reset AAI simulator Invalid event processing [Arguments] ${input_invalid_event_in_dmaap} @@ -47,10 +50,14 @@ Check PNF_READY notification Set PNF name in AAI [Arguments] ${pnfs_name} ${headers}= Create Dictionary Accept=application/json Content-Type=text/html - ${resp}= Put Request ${suite_aai_session} /set_pnfs headers=${headers} data=${pnfs_name} + ${resp}= Put Request ${aai_setup_session} /set_pnfs headers=${headers} data=${pnfs_name} Should Be Equal As Strings ${resp.status_code} 200 Set event in DMaaP [Arguments] ${event_in_dmaap} ${resp}= Put Request ${suite_dmaap_session} /set_get_event headers=${suite_headers} data=${event_in_dmaap} Should Be Equal As Strings ${resp.status_code} 200 + +Reset AAI simulator + ${resp}= Post Request ${aai_setup_session} /reset + Should Be Equal As Strings ${resp.status_code} 200 |