Loading SOL002/VNFLifecycleManagement-API/InstantiateVNFTask.robot +12 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,18 @@ POST Instantiate a vnfInstance with not permited authorization scope POST instantiate individual vnfInstance with not permitted authorization scope Check HTTP Response Status Code Is 403 Check HTTP Response Body Json Schema Is ProblemDetails POST Instantiate a vnfInstance with not valid authorization token [Documentation] Test ID: 6.3.5.3.11 ... Test title: POST Instantiate a vnfInstance with non permited authorization scope ... Test objective: The objective is to instantiate a VNF instance using incorrect OAuth scope value with not permited authorization scope ... Pre-conditions: none ... Reference: Clause 5.4.4.3.1 - ETSI GS NFV-SOL 002 [2] v5.1.1 ... Config ID: Config_prod_VE ... Applicability: none ... Post-Conditions: none POST instantiate individual vnfInstance with not valid authorization token Check HTTP Response Status Code Is 401 Check HTTP Response Body Json Schema Is ProblemDetails *** Keywords *** Check resource existence Set Headers {"Accept":"${ACCEPT}"} Loading SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot +11 −0 Original line number Diff line number Diff line Loading @@ -1884,6 +1884,17 @@ POST instantiate individual vnfInstance with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST instantiate individual vnfInstance with not valid authorization token Log Trying to Instantiate a vnf Instance with OAuth Token with non authorized tokken Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/instantiateVnfRequest.json ${body}= Format String ${template} flavourId=${flavourId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/instantiate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Scale vnfInstance with permitted authorization scope [Arguments] ${vnf_state} [Documentation] ${vnf_state} differentiate the VNF ID to be used in the different POST requests Loading Loading
SOL002/VNFLifecycleManagement-API/InstantiateVNFTask.robot +12 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,18 @@ POST Instantiate a vnfInstance with not permited authorization scope POST instantiate individual vnfInstance with not permitted authorization scope Check HTTP Response Status Code Is 403 Check HTTP Response Body Json Schema Is ProblemDetails POST Instantiate a vnfInstance with not valid authorization token [Documentation] Test ID: 6.3.5.3.11 ... Test title: POST Instantiate a vnfInstance with non permited authorization scope ... Test objective: The objective is to instantiate a VNF instance using incorrect OAuth scope value with not permited authorization scope ... Pre-conditions: none ... Reference: Clause 5.4.4.3.1 - ETSI GS NFV-SOL 002 [2] v5.1.1 ... Config ID: Config_prod_VE ... Applicability: none ... Post-Conditions: none POST instantiate individual vnfInstance with not valid authorization token Check HTTP Response Status Code Is 401 Check HTTP Response Body Json Schema Is ProblemDetails *** Keywords *** Check resource existence Set Headers {"Accept":"${ACCEPT}"} Loading
SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot +11 −0 Original line number Diff line number Diff line Loading @@ -1884,6 +1884,17 @@ POST instantiate individual vnfInstance with not permitted authorization scope ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST instantiate individual vnfInstance with not valid authorization token Log Trying to Instantiate a vnf Instance with OAuth Token with non authorized tokken Set Headers {"Accept":"${ACCEPT}"} Set Headers {"Version": "${API_VERSION}"} Set Headers {"Content-Type": "${CONTENT_TYPE}"} ${template}= Get File jsons/instantiateVnfRequest.json ${body}= Format String ${template} flavourId=${flavourId} Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances/${vnfInstanceId}/instantiate ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} POST Scale vnfInstance with permitted authorization scope [Arguments] ${vnf_state} [Documentation] ${vnf_state} differentiate the VNF ID to be used in the different POST requests Loading