Loading SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +2 −2 Original line number Diff line number Diff line Loading @@ -286,13 +286,13 @@ GET Individual VNF Package Content with explicit Range Request 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 Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_size} Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_length} Log Header Content-Range is present Check HTTP Response Header Content-Length Is Present and Matches the requested range length Log Check Content-Length HTTP Header Should Contain ${response['headers']} Content-Length Should Be Equal As Integers ${response['headers']['Content-Length']} ${length} Should Be Equal As Integers ${response['headers']['Content-Length']} ${full_length} Log Header Content-Length is present GET Individual VNF Package Content with invalid Range Request Loading SOL003/VNFPackageManagement-API/environment/variables.txt +3 −5 Original line number Diff line number Diff line Loading @@ -73,16 +73,14 @@ ${vndIdZipVnfd} f5b220d4-6177-4ebb-a554-a43311e16075 ${artifactPath} artifactPath ${CONTENT_TYPE_OCTET} application/octet-stream ${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO ${range} bytes=0-1023 ${full_size} 2000 # Size of the requested artifact to be downloaded via partial downloads ${erroneousRange} bytes=10000000-1000000000 # Requesting a out of range number of bytes ${range} bytes 0-1023 ${full_length} 2000 # Size of the requested artifact to be downloaded via partial downloads ${erroneousRange} bytes 10000000-1000000000 # Requesting a out of range number of bytes ${vnfPackageOctetStreamId} octetStreamPkgId ${vnfdOctetStreamId} octetStreamVnfdId ${vndEncryptedArtifactID} encryptedId ${length} 1024 ${POS_FILTER} vnfdId=41fdd38a-3d4c-465c-83e0-f80e014425f8 ,vnfProvider=NXW # Positive case, suing compiant fields name for filtering get request ${NEG_FILTER} nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8 # Negative case, using wrong name of field ${fields} softwareImages,additionalArtifacts Loading SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +2 −2 Original line number Diff line number Diff line Loading @@ -471,13 +471,13 @@ GET Individual VNF Package Content with explicit Range Request 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 Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_size} Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_length} Log Header Content-Range is present Check HTTP Response Header Content-Length Is Present and Matches the requested range length Log Check Content-Length HTTP Header Should Contain ${response['headers']} Content-Length Should Be Equal As Integers ${response['headers']['Content-Length']} ${length} Should Be Equal As Integers ${response['headers']['Content-Length']} ${full_length} Log Header Content-Length is present GET Individual VNF Package Content with invalid Range Request Loading SOL005/VNFPackageManagement-API/environment/variables.txt +3 −4 Original line number Diff line number Diff line Loading @@ -66,12 +66,11 @@ ${onboardingStateVnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42 # The VNF ${artifactPath} artifactPath ${CONTENT_TYPE_OCTET} application/octet-stream ${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO ${range} bytes=0-1023 ${full_size} 2000 # Size of the requested artifact to be downloaded via partial downloads ${erroneousRange} bytes=10000000-1000000000 # Requesting a out of range number of bytes ${range} bytes 0-1023 ${full_length} 2000 # Size of the requested artifact to be downloaded via partial downloads ${erroneousRange} bytes 10000000-1000000000 # Requesting a out of range number of bytes ${vnfPackageOctetStreamId} octetStreamPkgId ${vnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42 ${length} 1024 ${creatingVnfPackageId} d246ccdd-71aa-402f-b256-6a80ee54be3d ${newVnfPackageId} d246ccdd-71aa-402f-b256-6a80ee54be3d Loading Loading
SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +2 −2 Original line number Diff line number Diff line Loading @@ -286,13 +286,13 @@ GET Individual VNF Package Content with explicit Range Request 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 Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_size} Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_length} Log Header Content-Range is present Check HTTP Response Header Content-Length Is Present and Matches the requested range length Log Check Content-Length HTTP Header Should Contain ${response['headers']} Content-Length Should Be Equal As Integers ${response['headers']['Content-Length']} ${length} Should Be Equal As Integers ${response['headers']['Content-Length']} ${full_length} Log Header Content-Length is present GET Individual VNF Package Content with invalid Range Request Loading
SOL003/VNFPackageManagement-API/environment/variables.txt +3 −5 Original line number Diff line number Diff line Loading @@ -73,16 +73,14 @@ ${vndIdZipVnfd} f5b220d4-6177-4ebb-a554-a43311e16075 ${artifactPath} artifactPath ${CONTENT_TYPE_OCTET} application/octet-stream ${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO ${range} bytes=0-1023 ${full_size} 2000 # Size of the requested artifact to be downloaded via partial downloads ${erroneousRange} bytes=10000000-1000000000 # Requesting a out of range number of bytes ${range} bytes 0-1023 ${full_length} 2000 # Size of the requested artifact to be downloaded via partial downloads ${erroneousRange} bytes 10000000-1000000000 # Requesting a out of range number of bytes ${vnfPackageOctetStreamId} octetStreamPkgId ${vnfdOctetStreamId} octetStreamVnfdId ${vndEncryptedArtifactID} encryptedId ${length} 1024 ${POS_FILTER} vnfdId=41fdd38a-3d4c-465c-83e0-f80e014425f8 ,vnfProvider=NXW # Positive case, suing compiant fields name for filtering get request ${NEG_FILTER} nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8 # Negative case, using wrong name of field ${fields} softwareImages,additionalArtifacts Loading
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +2 −2 Original line number Diff line number Diff line Loading @@ -471,13 +471,13 @@ GET Individual VNF Package Content with explicit Range Request 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 Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_size} Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_length} Log Header Content-Range is present Check HTTP Response Header Content-Length Is Present and Matches the requested range length Log Check Content-Length HTTP Header Should Contain ${response['headers']} Content-Length Should Be Equal As Integers ${response['headers']['Content-Length']} ${length} Should Be Equal As Integers ${response['headers']['Content-Length']} ${full_length} Log Header Content-Length is present GET Individual VNF Package Content with invalid Range Request Loading
SOL005/VNFPackageManagement-API/environment/variables.txt +3 −4 Original line number Diff line number Diff line Loading @@ -66,12 +66,11 @@ ${onboardingStateVnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42 # The VNF ${artifactPath} artifactPath ${CONTENT_TYPE_OCTET} application/octet-stream ${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO ${range} bytes=0-1023 ${full_size} 2000 # Size of the requested artifact to be downloaded via partial downloads ${erroneousRange} bytes=10000000-1000000000 # Requesting a out of range number of bytes ${range} bytes 0-1023 ${full_length} 2000 # Size of the requested artifact to be downloaded via partial downloads ${erroneousRange} bytes 10000000-1000000000 # Requesting a out of range number of bytes ${vnfPackageOctetStreamId} octetStreamPkgId ${vnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42 ${length} 1024 ${creatingVnfPackageId} d246ccdd-71aa-402f-b256-6a80ee54be3d ${newVnfPackageId} d246ccdd-71aa-402f-b256-6a80ee54be3d Loading