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
17b5d056
Commit
17b5d056
authored
Mar 01, 2021
by
Elian Kraja
Browse files
Fixing issue
#151
for VNFPackageArtifacts
parent
266579be
Changes
4
Hide whitespace changes
Inline
Side-by-side
SOL003/VNFPackageManagement-API/VNFPackageArtifacts.robot
View file @
17b5d056
...
...
@@ -55,7 +55,7 @@ GET Individual VNF Package Artifact with Range Request and NFVO not supporting R
...
Config ID: Config_prod_NFVO
...
Applicability: The NFVO does not support range requests to return single range of bytes from the VNF package artifact
...
Post-Conditions: none
GET Individual VNF Package Artifact with Range Request
GET Individual VNF Package Artifact with
explicit
Range Request
Check HTTP Response Status Code Is
200
GET Individual VNF Package Artifact with invalid Range Request
...
...
SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
17b5d056
...
...
@@ -580,6 +580,14 @@ GET Individual VNF Package Artifact with Range Request
${output}
=
Output
response
Set Suite Variable
${response}
${output}
GET Individual VNF Package Artifact with explicit Range Request
Log
Trying to get an Artifact using RANGE Header and using an NFVO that can handle it
Set Headers
{"Range": "bytes=
${range}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"
${AUTHORIZATION_HEADER}
":"
${AUTHORIZATION_TOKEN}
"}
GET
${apiRoot}
/
${apiName}
/
${apiVersion}
/vnf_packages/
${vnfPackageId}
/artifacts/
${artifactPath}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
GET Individual VNF Package Artifact with invalid Range Request
Log
Trying to get a range of bytes of the limit of the VNF Package
Pass Execution If
${NFVO_RANGE_OK}
=
= 0
Skipping this test as NFVO is not able to handle partial Requests.
...
...
SOL005/VNFPackageManagement-API/VNFPackageArtifacts.robot
View file @
17b5d056
...
...
@@ -55,7 +55,7 @@ GET Individual VNF Package Artifact with Range Request and NFVO not supporting R
...
Config ID: Config_prod_NFVO
...
Applicability: The NFVO does not support range requests to return single range of bytes from the VNF package artifact
...
Post-Conditions: none
GET Individual VNF Package Artifact with Range Request
GET Individual VNF Package Artifact with
explicit
Range Request
Check HTTP Response Status Code Is
200
GET Individual VNF Package Artifact with invalid Range Request
...
...
SOL005/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
17b5d056
...
...
@@ -583,6 +583,14 @@ GET Individual VNF Package Artifact with Range Request
${output}
=
Output
response
Set Suite Variable
${response}
${output}
GET Individual VNF Package Artifact with explicit Range Request
Log
Trying to get an Artifact using RANGE Header and using an NFVO that can handle it
Set Headers
{"Range": "bytes=
${range}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"
${AUTHORIZATION_HEADER}
":"
${AUTHORIZATION_TOKEN}
"}
GET
${apiRoot}
/
${apiName}
/
${apiVersion}
/vnf_packages/
${vnfPackageId}
/artifacts/
${artifactPath}
${output}
=
Output
response
Set Suite Variable
${response}
${output}
GET Individual VNF Package Artifact with invalid Range Request
Log
Trying to get a range of bytes of the limit of the VNF Package
Pass Execution If
${NFVO_RANGE_OK}
=
= 0
Skipping this test as NFVO is not able to handle partial Requests.
...
...
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