Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Miguel Angel Reina Ortega
api-tests
Commits
6bb58542
Commit
6bb58542
authored
5 years ago
by
root
Committed by
Michele Carignani
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug #24 fixed
parent
d1f7d3ac
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SOL003/VNFFaultManagement-API/FaultManagement-APIKeyword.robot
+12
-0
12 additions, 0 deletions
...3/VNFFaultManagement-API/FaultManagement-APIKeyword.robot
SOL003/VNFFaultManagement-API/Subscriptions.robot
+2
-2
2 additions, 2 deletions
SOL003/VNFFaultManagement-API/Subscriptions.robot
with
14 additions
and
2 deletions
SOL003/VNFFaultManagement-API/FaultManagement-APIKeyword.robot
+
12
−
0
View file @
6bb58542
...
...
@@ -68,6 +68,18 @@ Check HTTP Response Header ContentType is
Should Be Equal
${response[0]['headers']['Content-Type']}
${expected_contentType}
Log
Content Type validated
Check Postcondition Subscription Resource Returned in Location Header Is Available
Log
Going to check postcondition
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization": "
${AUTHORIZATION}
"}
GET
${response['headers']['Location']}
Integer
response status
200
Log
Received a 200 OK as expected
${contentType}
=
Output
response headers Content-Type
Should Contain
${contentType}
application/json
${result}
=
Output
response body
Validate Json
FMSubscription.schema.json
${result}
Log
Validated FMSubscription schema
Send POST request for fault management Alarms
log
Trying to perform a POST. This method should not be implemented
Set Headers
{"Accept":"
${ACCEPT}
"}
...
...
This diff is collapsed.
Click to expand it.
SOL003/VNFFaultManagement-API/Subscriptions.robot
+
2
−
2
View file @
6bb58542
...
...
@@ -37,6 +37,7 @@ Create a new alarm subscription - DUPLICATION
Check HTTP Response Status Code Is
201
Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is
FmSubscription
Check created Subscription existance
Create a new alarm subscription - NO DUPLICATION
[
Documentation
]
Test ID: 7.3.5.3.3
...
...
@@ -50,8 +51,7 @@ Create a new alarm subscription - NO DUPLICATION
POST Subscription Duplication not permitted
Check HTTP Response Status Code Is
303
Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is
FmSubscription
Check created Subscription existance
Check Postcondition Subscription Resource Returned in Location Header Is Available
Retrieve a list of alarm subscriptions
[
Documentation
]
Test ID: 7.3.5.3.4
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment