X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fvfc%2Fnfvo-lcm%2Ftest.robot;fp=tests%2Fvfc%2Fnfvo-lcm%2Ftest.robot;h=833e24bbd9e7830f22fb3215c495a868989382c3;hb=898e2cb62a58a6c8fe851bb6c41e9ae61ac9ace0;hp=6711cf69636c0213e0ef16a0c010f6f2b72c6259;hpb=b66da2b3b8519866973badc4e19f1ae717e77d1f;p=integration%2Fcsit.git diff --git a/tests/vfc/nfvo-lcm/test.robot b/tests/vfc/nfvo-lcm/test.robot index 6711cf69..833e24bb 100644 --- a/tests/vfc/nfvo-lcm/test.robot +++ b/tests/vfc/nfvo-lcm/test.robot @@ -11,6 +11,7 @@ Library HttpLibrary.HTTP ${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 ${healthcheck_url} /api/nslcm/v1/health_check #json files @@ -74,3 +75,11 @@ LcmHealthCheckTest ${response_json} json.loads ${resp.content} ${health_status}= Convert To String ${response_json['status']} Should Be Equal ${health_status} active + +LcmGetNsTest + [Documentation] get ns instances 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_ns_url} + ${responese_code}= Convert To String ${resp.status_code} + List Should Contain Value ${return_ok_list} ${responese_code}