Commit 2fe8ec4a authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix issue #145

parent b3a08294
......@@ -271,7 +271,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
......
......@@ -3,6 +3,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 # Full size of the artifact to be downloaded using partial download
${erroneousRange} bytes=10000000-1000000000 # Requesting a out of range number of bytes
${erroneousVnfPkgId} erroneousPkgId
${vnfPackageOctetStreamId} octetStreamPkgId
......
......@@ -450,7 +450,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
......
......@@ -3,6 +3,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 # Full size of the artifact to be downloaded using partial download
${erroneousRange} bytes=10000000-1000000000 # Requesting a out of range number of bytes
${erroneousVnfPkgId} erroneousPkgId
${vnfPackageOctetStreamId} octetStreamPkgId
\ No newline at end of file
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