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
2fe8ec4a
Commit
2fe8ec4a
authored
Feb 01, 2021
by
Elian Kraja
Browse files
Fix issue
#145
parent
b3a08294
Changes
4
Hide whitespace changes
Inline
Side-by-side
SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
2fe8ec4a
...
...
@@ -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
...
...
SOL003/VNFPackageManagement-API/environment/vnfPackageArtifacts.txt
View file @
2fe8ec4a
...
...
@@ -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
...
...
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
2fe8ec4a
...
...
@@ -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
...
...
SOL005/VNFPackageManagement-API/environment/vnfPackageArtifacts.txt
View file @
2fe8ec4a
...
...
@@ -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
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