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