Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
api-tests
Commits
aeb7d6df
Commit
aeb7d6df
authored
Sep 21, 2021
by
Giacomo Bernini
Committed by
Giacomo Bernini
Oct 05, 2021
Browse files
fixed issues
#90
and
#190
in 2.8.1
parent
6c3d8ca5
Changes
35
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
40 additions
and
18 deletions
+40
-18
SOL002/VNFConfiguration-API/Configuration.robot
SOL002/VNFConfiguration-API/Configuration.robot
+2
-1
SOL002/VNFFaultManagement-API/Alarms.robot
SOL002/VNFFaultManagement-API/Alarms.robot
+2
-1
SOL002/VNFFaultManagement-API/EscalatePerceivedSeverityTask.robot
...NFFaultManagement-API/EscalatePerceivedSeverityTask.robot
+2
-1
SOL002/VNFFaultManagement-API/IndividualAlarm.robot
SOL002/VNFFaultManagement-API/IndividualAlarm.robot
+2
-1
SOL002/VNFFaultManagement-API/IndividualSubscription.robot
SOL002/VNFFaultManagement-API/IndividualSubscription.robot
+2
-1
SOL002/VNFFaultManagement-API/Subscriptions.robot
SOL002/VNFFaultManagement-API/Subscriptions.robot
+2
-1
SOL002/VNFIndicator-API/IndividualSubscription.robot
SOL002/VNFIndicator-API/IndividualSubscription.robot
+2
-1
SOL002/VNFIndicator-API/IndividualVNFindicator.robot
SOL002/VNFIndicator-API/IndividualVNFindicator.robot
+2
-1
SOL002/VNFIndicator-API/Subscriptions.robot
SOL002/VNFIndicator-API/Subscriptions.robot
+2
-1
SOL002/VNFIndicator-API/VNFIndicators.robot
SOL002/VNFIndicator-API/VNFIndicators.robot
+2
-1
SOL002/VNFIndicator-API/VnfIndicatorsInVnfInstanceId.robot
SOL002/VNFIndicator-API/VnfIndicatorsInVnfInstanceId.robot
+2
-1
SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot
.../VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot
+2
-0
SOL002/VNFPerformanceManagement-API/IndividualPmJob.robot
SOL002/VNFPerformanceManagement-API/IndividualPmJob.robot
+2
-1
SOL002/VNFPerformanceManagement-API/IndividualReport.robot
SOL002/VNFPerformanceManagement-API/IndividualReport.robot
+2
-1
SOL002/VNFPerformanceManagement-API/IndividualThreshold.robot
...02/VNFPerformanceManagement-API/IndividualThreshold.robot
+2
-1
SOL002/VNFPerformanceManagement-API/PMJobs.robot
SOL002/VNFPerformanceManagement-API/PMJobs.robot
+2
-1
SOL002/VNFPerformanceManagement-API/Thresholds.robot
SOL002/VNFPerformanceManagement-API/Thresholds.robot
+2
-1
SOL002/VNFPerformanceManagement-API/VNFPerformanceManagementKeywords.robot
...anceManagement-API/VNFPerformanceManagementKeywords.robot
+2
-1
SOL003/VNFFaultManagement-API/FaultManagement-APIKeyword.robot
...3/VNFFaultManagement-API/FaultManagement-APIKeyword.robot
+2
-0
SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot
SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot
+2
-1
No files found.
SOL002/VNFConfiguration-API/Configuration.robot
View file @
aeb7d6df
...
@@ -136,7 +136,8 @@ Check HTTP Response Header Contains
...
@@ -136,7 +136,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/problem+json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFFaultManagement-API/Alarms.robot
View file @
aeb7d6df
...
@@ -352,7 +352,8 @@ Check HTTP Response Header Contains
...
@@ -352,7 +352,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFFaultManagement-API/EscalatePerceivedSeverityTask.robot
View file @
aeb7d6df
...
@@ -112,7 +112,8 @@ Check HTTP Response Status Code Is
...
@@ -112,7 +112,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
\ No newline at end of file
SOL002/VNFFaultManagement-API/IndividualAlarm.robot
View file @
aeb7d6df
...
@@ -192,7 +192,8 @@ Check HTTP Response Status Code Is
...
@@ -192,7 +192,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFFaultManagement-API/IndividualSubscription.robot
View file @
aeb7d6df
...
@@ -147,7 +147,8 @@ Check HTTP Response Status Code Is
...
@@ -147,7 +147,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFFaultManagement-API/Subscriptions.robot
View file @
aeb7d6df
...
@@ -424,7 +424,8 @@ Check HTTP Response Status Code Is
...
@@ -424,7 +424,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFIndicator-API/IndividualSubscription.robot
View file @
aeb7d6df
...
@@ -168,7 +168,8 @@ Check HTTP Response Header Contains
...
@@ -168,7 +168,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFIndicator-API/IndividualVNFindicator.robot
View file @
aeb7d6df
...
@@ -218,7 +218,8 @@ Check HTTP Response Header Contains
...
@@ -218,7 +218,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFIndicator-API/Subscriptions.robot
View file @
aeb7d6df
...
@@ -282,7 +282,8 @@ Check HTTP Response Header Contains
...
@@ -282,7 +282,8 @@ Check HTTP Response Header Contains
Check
HTTP
Response
Body
Json
Schema
Is
Check
HTTP
Response
Body
Json
Schema
Is
[Arguments]
${input}
[Arguments]
${input}
Should
Contain
${response['headers']['Content-Type']}
application/json
Run
Keyword
If
'${input}'
==
'ProblemDetails'
Should
Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should
Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate
Json
${schema}
${response['body']}
Validate
Json
${schema}
${response['body']}
Log
Json
Schema
Validation
OK
Log
Json
Schema
Validation
OK
...
...
SOL002/VNFIndicator-API/VNFIndicators.robot
View file @
aeb7d6df
...
@@ -286,7 +286,8 @@ Check HTTP Response Header Contains
...
@@ -286,7 +286,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${schema}
[
Arguments
]
${schema}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${jsonSchema}
=
Catenate
SEPARATOR=
${schema}
.schema.json
${jsonSchema}
=
Catenate
SEPARATOR=
${schema}
.schema.json
Validate Json
${jsonSchema}
${response['body']}
Validate Json
${jsonSchema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFIndicator-API/VnfIndicatorsInVnfInstanceId.robot
View file @
aeb7d6df
...
@@ -214,7 +214,8 @@ Check HTTP Response Header Contains
...
@@ -214,7 +214,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFLifecycleManagement-API/VnfLcmOperationKeywords.robot
View file @
aeb7d6df
...
@@ -40,6 +40,8 @@ Check Operation Occurrence Id
...
@@ -40,6 +40,8 @@ Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFPerformanceManagement-API/IndividualPmJob.robot
View file @
aeb7d6df
...
@@ -241,7 +241,8 @@ Check HTTP Response Header Contains
...
@@ -241,7 +241,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFPerformanceManagement-API/IndividualReport.robot
View file @
aeb7d6df
...
@@ -155,7 +155,8 @@ Check HTTP Response Header Contains
...
@@ -155,7 +155,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFPerformanceManagement-API/IndividualThreshold.robot
View file @
aeb7d6df
...
@@ -243,7 +243,8 @@ Check HTTP Response Header Contains
...
@@ -243,7 +243,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFPerformanceManagement-API/PMJobs.robot
View file @
aeb7d6df
...
@@ -409,7 +409,8 @@ Check HTTP Response Header Contains
...
@@ -409,7 +409,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFPerformanceManagement-API/Thresholds.robot
View file @
aeb7d6df
...
@@ -257,7 +257,8 @@ Check HTTP Response Header Contains
...
@@ -257,7 +257,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL002/VNFPerformanceManagement-API/VNFPerformanceManagementKeywords.robot
View file @
aeb7d6df
...
@@ -271,7 +271,8 @@ Check HTTP Response Status Code Is
...
@@ -271,7 +271,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL003/VNFFaultManagement-API/FaultManagement-APIKeyword.robot
View file @
aeb7d6df
...
@@ -63,6 +63,8 @@ Check HTTP Response Header Contains
...
@@ -63,6 +63,8 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot
View file @
aeb7d6df
...
@@ -172,7 +172,8 @@ Check HTTP Response Status Code Is
...
@@ -172,7 +172,8 @@ Check HTTP Response Status Code Is
Check HTTP Response Body Json Schema Is
Check HTTP Response Body Json Schema Is
[
Arguments
]
${input}
[
Arguments
]
${input}
Should Contain
${response['headers']['Content-Type']}
application/json
Run Keyword If
'
${input}
' == 'ProblemDetails'
Should Contain
${response['headers']['Content-Type']}
application/problem+json
...
ELSE
Should Contain
${response['headers']['Content-Type']}
application/json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
${schema}
=
Catenate
SEPARATOR=
${input}
.schema.json
Validate Json
${schema}
${response['body']}
Validate Json
${schema}
${response['body']}
Log
Json Schema Validation OK
Log
Json Schema Validation OK
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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