aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2022-01-20 14:50:18 +0000
committerGerrit Code Review <gerrit@onap.org>2022-01-20 14:50:18 +0000
commit0b921e8f71b125cf16b3b6da63fcb182fa9a9d81 (patch)
treeeacdd8daa644f5b645a7cf38d3a423db85a6ec78
parent26f4a5bf4bbcf06bbb8c6e263cc8cca8a15386a8 (diff)
parentbc2aad2a09236015499c82b4b58d639cd1231445 (diff)
Merge "[VFc] - fix CSIT failure for lcm component"
-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