Fix vfc-gvnfm-vnflcm csit fail issue 95/16195/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Thu, 28 Sep 2017 03:08:29 +0000 (11:08 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Thu, 28 Sep 2017 03:08:29 +0000 (11:08 +0800)
Change-Id: I893ebdaa0190e87ed6dda77d74f92e407cbaf349
Issue-ID: VFC-459
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
test/csit/tests/vfc/gvnfm-vnflcm/test.robot

index 9cfdda0..1324a1c 100644 (file)
@@ -1,8 +1,10 @@
 *** settings ***
+Resource    ../../common.robot
 Library     Collections
 Library     RequestsLibrary
 Library     OperatingSystem
 Library     json
+Library     HttpLibrary.HTTP
 
 *** Variables ***
 @{return_ok_list}=   200  201  202
@@ -17,7 +19,7 @@ ${create_vnf_json}    ./jsoninput/create_vnf.json
 VnflcmSwaggerTest
     [Documentation]    query swagger info vnflcm by MSB
     ${headers}    Create Dictionary    Content-Type=application/json    Accept=application/json
-    Create Session    web_session    http://${MSB_IAG_IP}:8801    headers=${headers}
+    Create Session    web_session    http://${MSB_IAG_IP}:80    headers=${headers}
     ${resp}=  Get Request    web_session    ${queryswagger_url}
     ${responese_code}=     Convert To String      ${resp.status_code}
     List Should Contain Value    ${return_ok_list}   ${responese_code}