Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
api-tests
Commits
3a51b7d1
Commit
3a51b7d1
authored
Feb 24, 2021
by
Elian Kraja
Browse files
Fix issue
#165
parent
714d4068
Changes
4
Hide whitespace changes
Inline
Side-by-side
SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
3a51b7d1
...
...
@@ -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
...
...
SOL003/VNFPackageManagement-API/environment/vnfPackageArtifacts.txt
View file @
3a51b7d1
...
...
@@ -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
...
...
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
3a51b7d1
...
...
@@ -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
...
...
SOL005/VNFPackageManagement-API/environment/vnfPackageArtifacts.txt
View file @
3a51b7d1
...
...
@@ -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
Elian Kraja
@kraja
mentioned in issue
#165 (closed)
·
Feb 26, 2021
mentioned in issue
#165 (closed)
mentioned in issue #165
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment