Commit 3a51b7d1 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix issue #165

parent 714d4068
......@@ -286,7 +286,7 @@ Check HTTP Response Header Content-Range Is Present and Matches the requested ra
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']} ${full_length}
Should Be Equal As Integers ${response['headers']['Content-Length']} ${length}
Log Header Content-Length is present
GET Individual VNF Package Content with invalid Range Request
......
......@@ -4,6 +4,7 @@ ${CONTENT_TYPE_OCTET} application/octet-stream
${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO
${range} 0-1023
${full_length} 2000 # Full size of the artifact to be downloaded using partial download
${length} 1024 # Length of the requested portion
${erroneousRange} 10000000-1000000000 # Requesting a out of range number of bytes
${erroneousVnfPkgId} erroneousPkgId
${vnfPackageOctetStreamId} octetStreamPkgId
......
......@@ -465,7 +465,7 @@ Check HTTP Response Header Content-Range Is Present and Matches the requested ra
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']} ${full_length}
Should Be Equal As Integers ${response['headers']['Content-Length']} ${length}
Log Header Content-Length is present
GET Individual VNF Package Content with invalid Range Request
......
......@@ -4,6 +4,7 @@ ${CONTENT_TYPE_OCTET} application/octet-stream
${NFVO_RANGE_OK} 1 # If 1 means that Range is supported by the NFVO
${range} 0-1023
${full_length} 2000 # Full size of the artifact to be downloaded using partial download
${length} 1024 # Length of the requested portion
${erroneousRange} 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