X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fsfc%2FSFC_Basic%2F050__sfc_service_schedule_types.robot;h=74fc3f48408d3ee3dc18980911134ac5f171f5d5;hb=ff086b395dc8d40721bd81ce6f34bda7a09ec401;hp=d7a02a73dd4735e1be5470d0474d2814972278ea;hpb=0bd59f63507f0e962f566e76840d62bfb0307c68;p=integration%2Ftest.git diff --git a/csit/suites/sfc/SFC_Basic/050__sfc_service_schedule_types.robot b/csit/suites/sfc/SFC_Basic/050__sfc_service_schedule_types.robot index d7a02a73dd..74fc3f4840 100644 --- a/csit/suites/sfc/SFC_Basic/050__sfc_service_schedule_types.robot +++ b/csit/suites/sfc/SFC_Basic/050__sfc_service_schedule_types.robot @@ -22,7 +22,7 @@ Add Service Function Schedule Algorithm Types ${body} OperatingSystem.Get File ${SERVICE_SCHED_TYPES_FILE} ${jsonbody} To Json ${body} ${types} Get From Dictionary ${jsonbody} service-function-scheduler-types - ${resp} RequestsLibrary.Get session ${SERVICE_SCHED_TYPES_URI} + ${resp} RequestsLibrary.Get Request session ${SERVICE_SCHED_TYPES_URI} Should Be Equal As Strings ${resp.status_code} 200 ${result} To JSON ${resp.content} ${type} Get From Dictionary ${result} service-function-scheduler-types @@ -30,10 +30,10 @@ Add Service Function Schedule Algorithm Types Delete All Service Function Schedule Algorithm Types [Documentation] Delete Service Function Schedule Algorithm Types - ${resp} RequestsLibrary.Get session ${SERVICE_SCHED_TYPES_URI} + ${resp} RequestsLibrary.Get Request session ${SERVICE_SCHED_TYPES_URI} Should Be Equal As Strings ${resp.status_code} 200 Remove All Elements At URI ${SERVICE_SCHED_TYPES_URI} - ${resp} RequestsLibrary.Get session ${SERVICE_SCHED_TYPES_URI} + ${resp} RequestsLibrary.Get Request session ${SERVICE_SCHED_TYPES_URI} Should Be Equal As Strings ${resp.status_code} 404 Get Ramdom Schedule Algorithm Type @@ -42,13 +42,13 @@ Get Ramdom Schedule Algorithm Type Add Elements To URI From File ${SERVICE_SCHED_TYPES_URI} ${SERVICE_SCHED_TYPES_FILE} ${elements}= Create List random "enabled":false service-function-scheduler-type:random Check For Elements At URI ${SERVICE_SCHED_TYPES_URI}service-function-scheduler-type/service-function-scheduler-type:random ${elements} - ${resp} RequestsLibrary.Get session ${SERVICE_SCHED_TYPES_URI}service-function-scheduler-type/service-function-scheduler-type:random + ${resp} RequestsLibrary.Get Request session ${SERVICE_SCHED_TYPES_URI}service-function-scheduler-type/service-function-scheduler-type:random Get A Non-existing Service Function Schedule Algorithm Type [Documentation] Get A Non-existing Service Function Schedule Algorithm Type Remove All Elements At URI ${SERVICE_SCHED_TYPES_URI} Add Elements To URI From File ${SERVICE_SCHED_TYPES_URI} ${SERVICE_SCHED_TYPES_FILE} - ${resp} RequestsLibrary.Get session ${SERVICE_SCHED_TYPES_URI}service-function-scheduler-type/service-function-scheduler-type:user-defined + ${resp} RequestsLibrary.Get Request session ${SERVICE_SCHED_TYPES_URI}service-function-scheduler-type/service-function-scheduler-type:user-defined Should Be Equal As Strings ${resp.status_code} 404 Delete Ramdom Schedule Algorithm Type @@ -67,7 +67,7 @@ Delete A Non-existing Service Function Schedule Algorithm Type ${jsonbody} To Json ${body} ${types} Get From Dictionary ${jsonbody} service-function-scheduler-types Remove All Elements At URI ${SERVICE_SCHED_TYPES_URI}service-function-scheduler-type/service-function-scheduler-type:user-defined - ${resp} RequestsLibrary.Get session ${SERVICE_SCHED_TYPES_URI} + ${resp} RequestsLibrary.Get Request session ${SERVICE_SCHED_TYPES_URI} Should Be Equal As Strings ${resp.status_code} 200 ${result} To JSON ${resp.content} ${type} Get From Dictionary ${result} service-function-scheduler-types