aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vfc
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2022-01-12 09:53:32 +0800
committerdyh <dengyuanhong@chinamobile.com>2022-01-12 09:58:23 +0800
commitbc2aad2a09236015499c82b4b58d639cd1231445 (patch)
tree92de46ee08fdc9c9b3fb022946e630786a21e9fb /tests/vfc
parent13a92b7bb5710439ba2555ad9a1a164c9e5f12b8 (diff)
[VFc] - fix CSIT failure for lcm component
Issue-ID: VFC-1920 Change-Id: I75ef6a72a6aa814ca3c62806cd597d1205df3fe7 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'tests/vfc')
-rw-r--r--tests/vfc/nfvo-lcm/test.robot18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/vfc/nfvo-lcm/test.robot b/tests/vfc/nfvo-lcm/test.robot
index 241ebb81..ed4b6ce2 100644
--- a/tests/vfc/nfvo-lcm/test.robot
+++ b/tests/vfc/nfvo-lcm/test.robot
@@ -49,7 +49,7 @@ NslcmSwaggerTest
[Documentation] query swagger info of nslcm
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${queryswagger_url}
+ ${resp}= GET On Session web_session ${queryswagger_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
${response_json} json.loads ${resp.content}
@@ -60,7 +60,7 @@ NslcmSwaggerByMSBTest
[Documentation] query swagger info of nslcm by MSB
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${queryswagger_url}
+ ${resp}= GET On Session web_session ${queryswagger_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
${response_json} json.loads ${resp.content}
@@ -100,7 +100,7 @@ QueryVnfTest
[Documentation] Query vnf function test
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${vnfs_url}/${vnfInstId}
+ ${resp}= GET On Session web_session ${vnfs_url}/${vnfInstId}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
@@ -167,7 +167,7 @@ GetJobTest
[Documentation] Query Ns Job function test
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${get_job_url}/${jobInstId}
+ ${resp}= GET On Session web_session ${get_job_url}/${jobInstId}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
@@ -205,7 +205,7 @@ LcmHealthCheckTest
[Documentation] check health for nslcm by MSB
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${healthcheck_url}
+ ${resp}= GET On Session web_session ${healthcheck_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
${response_json} json.loads ${resp.content}
@@ -216,7 +216,7 @@ LcmGetNsTest
[Documentation] get ns instances for nslcm by MSB
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${ns_url}
+ ${resp}= GET On Session web_session ${ns_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
@@ -224,7 +224,7 @@ QueryAllPnfsTest
[Documentation] Query all pnfs function test
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${pnfs_url}
+ ${resp}= GET On Session web_session ${pnfs_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
@@ -246,7 +246,7 @@ QueryNSInstancesTest
[Documentation] Query Ns Instances function test
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${ns_instances_url}
+ ${resp}= GET On Session web_session ${ns_instances_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code}
@@ -288,6 +288,6 @@ LcmGetSubscriptionsTest
[Documentation] get subscriptions for nslcm by MSB
${headers} Create Dictionary Content-Type=application/json Accept=application/json
Create Session web_session http://${NSLCM_IP}:8403 headers=${headers}
- ${resp}= Get Request web_session ${get_subscriptions_url}
+ ${resp}= GET On Session web_session ${get_subscriptions_url}
${responese_code}= Convert To String ${resp.status_code}
List Should Contain Value ${return_ok_list} ${responese_code} \ No newline at end of file