Commit 57473add authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix issue #145

parent 7cd1d95b
......@@ -275,7 +275,7 @@ GET Individual VNF Package Content with 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}
Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_size}
Log Header Content-Range is present
Check HTTP Response Header Content-Length Is Present and Matches the requested range length
......
......@@ -73,6 +73,7 @@ ${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
${vnfPackageOctetStreamId} octetStreamPkgId
${vnfdOctetStreamId} octetStreamVnfdId
......
......@@ -413,7 +413,7 @@ GET Individual VNF Package Content with 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}
Should Be Equal As Strings ${response['headers']['Content-Range']} ${range}/${full_size}
Log Header Content-Range is present
Check HTTP Response Header Content-Length Is Present and Matches the requested range length
......
......@@ -64,6 +64,7 @@ ${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
${vnfPackageOctetStreamId} octetStreamPkgId
${vnfPkgId} 788106a2-d692-44f3-a86d-384f0ce35e42
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment