Loading SOL003/VNFPackageManagement-API/VNFPackageContent.robot +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ GET Individual VNF Package Content with Range Request and NFVO not supporting Ra ... Config ID: Config_prod_NFVO ... Applicability: The NFVO does not support range requests to return single range of bytes from the VNF package file ... Post-Conditions: none GET Individual VNF Package Content with Range Request GET Individual VNF Package Content with explicit Range Request Check HTTP Response Status Code Is 200 Check HTTP Response Header Content-Type Is application/zip Loading SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +10 −0 Original line number Diff line number Diff line Loading @@ -268,6 +268,16 @@ GET Individual VNF Package Content with Range Request ${output}= Output response Set Suite Variable ${response} ${output} GET Individual VNF Package Content with explicit Range Request Log Trying to get a VNF Package Content using RANGE using an NFVO that can handle it Pass Execution If ${NFVO_RANGE_OK} == 0 Skipping this test as NFVO is not able to handle partial Requests. Set Headers {"Accept": "${ACCEPT_ZIP}"} Set Headers {"Range": "${range}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}/package_content ${output}= Output response Set Suite Variable ${response} ${output} Check HTTP Response Header Content-Range Is Present and Matches the requested range Log Check Content-Range HTTP Header Should Contain ${response['headers']} Content-Range Loading SOL005/VNFPackageManagement-API/VNFPackageContent.robot +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ GET Individual VNF Package Content with Range Request and NFVO not supporting Ra ... Config ID: Config_prod_NFVO ... Applicability: The NFVO does not support range requests to return single range of bytes from the VNF package file ... Post-Conditions: none GET Individual VNF Package Content with Range Request GET Individual VNF Package Content with explicit Range Request Check HTTP Response Status Code Is 200 Check HTTP Response Header Content-Type Is application/zip Loading SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +9 −0 Original line number Diff line number Diff line Loading @@ -447,6 +447,15 @@ GET Individual VNF Package Content with Range Request ${output}= Output response Set Suite Variable ${response} ${output} GET Individual VNF Package Content with explicit Range Request Log Trying to get a VNF Package Content using RANGE using an NFVO that can handle it Set Headers {"Accept": "${ACCEPT_ZIP}"} Set Headers {"Range": "${range}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}/package_content ${output}= Output response Set Suite Variable ${response} ${output} Check HTTP Response Header Content-Range Is Present and Matches the requested range Log Check Content-Range HTTP Header Should Contain ${response['headers']} Content-Range Loading Loading
SOL003/VNFPackageManagement-API/VNFPackageContent.robot +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ GET Individual VNF Package Content with Range Request and NFVO not supporting Ra ... Config ID: Config_prod_NFVO ... Applicability: The NFVO does not support range requests to return single range of bytes from the VNF package file ... Post-Conditions: none GET Individual VNF Package Content with Range Request GET Individual VNF Package Content with explicit Range Request Check HTTP Response Status Code Is 200 Check HTTP Response Header Content-Type Is application/zip Loading
SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +10 −0 Original line number Diff line number Diff line Loading @@ -268,6 +268,16 @@ GET Individual VNF Package Content with Range Request ${output}= Output response Set Suite Variable ${response} ${output} GET Individual VNF Package Content with explicit Range Request Log Trying to get a VNF Package Content using RANGE using an NFVO that can handle it Pass Execution If ${NFVO_RANGE_OK} == 0 Skipping this test as NFVO is not able to handle partial Requests. Set Headers {"Accept": "${ACCEPT_ZIP}"} Set Headers {"Range": "${range}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}/package_content ${output}= Output response Set Suite Variable ${response} ${output} Check HTTP Response Header Content-Range Is Present and Matches the requested range Log Check Content-Range HTTP Header Should Contain ${response['headers']} Content-Range Loading
SOL005/VNFPackageManagement-API/VNFPackageContent.robot +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ GET Individual VNF Package Content with Range Request and NFVO not supporting Ra ... Config ID: Config_prod_NFVO ... Applicability: The NFVO does not support range requests to return single range of bytes from the VNF package file ... Post-Conditions: none GET Individual VNF Package Content with Range Request GET Individual VNF Package Content with explicit Range Request Check HTTP Response Status Code Is 200 Check HTTP Response Header Content-Type Is application/zip Loading
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +9 −0 Original line number Diff line number Diff line Loading @@ -447,6 +447,15 @@ GET Individual VNF Package Content with Range Request ${output}= Output response Set Suite Variable ${response} ${output} GET Individual VNF Package Content with explicit Range Request Log Trying to get a VNF Package Content using RANGE using an NFVO that can handle it Set Headers {"Accept": "${ACCEPT_ZIP}"} Set Headers {"Range": "${range}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}/package_content ${output}= Output response Set Suite Variable ${response} ${output} Check HTTP Response Header Content-Range Is Present and Matches the requested range Log Check Content-Range HTTP Header Should Contain ${response['headers']} Content-Range Loading