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
029fbbbc
Commit
029fbbbc
authored
Mar 15, 2019
by
Giacomo Bernini
Browse files
added test doc to SOL002 VNF PM
parent
6c9a60d5
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
SOL002/VNFConfiguration-API/Configuration.robot
View file @
029fbbbc
...
...
@@ -19,7 +19,7 @@ Set new VNF Configuration
Send VNF configuration
Check HTTP Response Status Code Is
200
Check HTTP Response Header Contains
ETag
Check HTTP Response Body Json Schema Is
vnfConfigModifications
.schema.json
Check HTTP Response Body Json Schema Is
vnfConfigModifications
Check Postcondition VNF Is Configured
Get information about a VNF configuration
...
...
@@ -34,7 +34,7 @@ Get information about a VNF configuration
...
Post-Conditions: none
Get VNF configuration
Check HTTP Response Status Code Is
200
Check HTTP Response Body Json Schema Is
vnfConfiguration
.schema.json
Check HTTP Response Body Json Schema Is
vnfConfiguration
Get information about a VNF configuration with HTTP Etag
[
Tags
]
etag
...
...
@@ -49,7 +49,7 @@ Get information about a VNF configuration with HTTP Etag
Get VNF configuration
Check HTTP Response Status Code Is
200
Check HTTP Response Header Contains
ETag
Check HTTP Response Body Json Schema Is
vnfConfiguration
.schema.json
Check HTTP Response Body Json Schema Is
vnfConfiguration
Set new VNF Configuration - HTTP Etag precondition unsuccessful
[
Tags
]
etag
...
...
@@ -138,8 +138,9 @@ Check HTTP Response Header Contains
Log
Header is present
Check HTTP Response Body Json Schema Is
[
Arguments
]
${
schema
}
[
Arguments
]
${
input
}
Should Contain
${response[0]['headers']['Content-Type']}
application/json
${schema}
=
Catenate
${input}
.schema.json
Validate Json
${schema}
${response[0]['body']}
Log
Json Schema Validation OK
...
...
SOL002/VNFIndicator-API/IndividualSubscription.robot
View file @
029fbbbc
...
...
@@ -171,8 +171,9 @@ Check HTTP Response Header Contains
Log
Header
is
present
Check
HTTP
Response
Body
Json
Schema
Is
[Arguments]
${
schema
}
[Arguments]
${
input
}
Should
Contain
${response[0]['headers']['Content-Type']}
application/json
${schema}
=
Catenate
${input}
.schema.json
Validate
Json
${schema}
${response[0]['body']}
Log
Json
Schema
Validation
OK
...
...
SOL002/VNFIndicator-API/IndividualVNFindicator.robot
View file @
029fbbbc
...
...
@@ -144,8 +144,9 @@ Check HTTP Response Header Contains
Log
Header is present
Check HTTP Response Body Json Schema Is
[
Arguments
]
${
schema
}
[
Arguments
]
${
input
}
Should Contain
${response[0]['headers']['Content-Type']}
application/json
${schema}
=
Catenate
${input}
.schema.json
Validate Json
${schema}
${response[0]['body']}
Log
Json Schema Validation OK
...
...
SOL002/VNFIndicator-API/Subscriptions.robot
View file @
029fbbbc
...
...
@@ -191,8 +191,9 @@ Check HTTP Response Header Contains
Log
Header
is
present
Check
HTTP
Response
Body
Json
Schema
Is
[Arguments]
${
schema
}
[Arguments]
${
input
}
Should
Contain
${response[0]['headers']['Content-Type']}
application/json
${schema}
=
Catenate
${input}
.schema.json
Validate
Json
${schema}
${response[0]['body']}
Log
Json
Schema
Validation
OK
...
...
SOL002/VNFIndicator-API/VNFIndicators.robot
View file @
029fbbbc
This diff is collapsed.
Click to expand it.
SOL002/VNFIndicator-API/VnfIndicatorsInVnfInstanceId.robot
View file @
029fbbbc
...
...
@@ -188,8 +188,9 @@ Check HTTP Response Header Contains
Log
Header is present
Check HTTP Response Body Json Schema Is
[
Arguments
]
${
schema
}
[
Arguments
]
${
input
}
Should Contain
${response[0]['headers']['Content-Type']}
application/json
${schema}
=
Catenate
${input}
.schema.json
Validate Json
${schema}
${response[0]['body']}
Log
Json Schema Validation OK
...
...
SOL002/VNFPerformanceManagement-API/PMJobs.robot
View file @
029fbbbc
This diff is collapsed.
Click to expand it.
SOL002/VNFPerformanceManagement-API/environment/pmJobs.txt
View file @
029fbbbc
...
...
@@ -2,3 +2,4 @@
${POS_FILTER} objectInstanceIds=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${NEG_FILTER} criteriaPmJob=erroneousAttributeName
${fields} criteria,reports
@{response}= httpresponse
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