diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-19 09:45:49 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-04-19 09:45:49 +0800 |
commit | d5a328362ad6e1ff2160d16d100a0b05960bc4e4 (patch) | |
tree | 2066d6be3f420043e8cf3b02142afd2e89f31315 | |
parent | 898e2cb62a58a6c8fe851bb6c41e9ae61ac9ace0 (diff) |
Add csit case for nslcm
Change-Id: I5bd9460cde34498726316ffc3b37870a667ea59b
Issue-ID: INT-1015
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | tests/vfc/nfvo-lcm/test.robot | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/vfc/nfvo-lcm/test.robot b/tests/vfc/nfvo-lcm/test.robot index 833e24bb..83040ade 100644 --- a/tests/vfc/nfvo-lcm/test.robot +++ b/tests/vfc/nfvo-lcm/test.robot @@ -12,6 +12,7 @@ ${queryswagger_url} /api/nslcm/v1/swagger.json ${create_ns_url} /api/nslcm/v1/ns ${delete_ns_url} /api/nslcm/v1/ns ${get_ns_url} /api/nslcm/v1/ns +${get_subscriptions_url} /api/nslcm/v1/subscriptions ${healthcheck_url} /api/nslcm/v1/health_check #json files @@ -83,3 +84,11 @@ LcmGetNsTest ${resp}= Get Request web_session ${get_ns_url} ${responese_code}= Convert To String ${resp.status_code} List Should Contain Value ${return_ok_list} ${responese_code} + +LcmGetSubscriptionsTest + [Documentation] get subscriptions for nslcm by MSB + ${headers} Create Dictionary Content-Type=application/json Accept=application/json + Create Session web_session http://${MSB_IAG_IP}:80 headers=${headers} + ${resp}= Get Request web_session ${get_subscriptions_url} + ${responese_code}= Convert To String ${resp.status_code} + List Should Contain Value ${return_ok_list} ${responese_code} |