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
9c7a1243
Commit
9c7a1243
authored
Feb 23, 2021
by
Giacomo Bernini
Browse files
reverted bad fix of issue
#164
on v2.6.1
parent
c2a43680
Changes
2
Hide whitespace changes
Inline
Side-by-side
SOL005/NSDManagement-API/NSDManagementKeywords.robot
View file @
9c7a1243
...
...
@@ -15,12 +15,7 @@ Library JSONSchemaLibrary schemas/
Library
Process
Library
String
*** Keywords ***
Setup environment
Run Keyword If
${NFVO_DUPLICATION}
=
= 0
Set Tags
no-duplicated-subs
Run Keyword If
${NFVO_DUPLICATION}
=
= 1
Set Tags
duplicated-subs
Create Sessions
*** Keywords ***
GET all Network Service Descriptors Information
Log
The GET method queries multiple NS descriptors
Set Headers
{"Accept": "
${ACCEPT_JSON}
"}
...
...
@@ -849,6 +844,7 @@ Send Post Request for NSD Management Subscription
Send Post Request for Duplicated NSD Management Subscription
Log
Trying to create a subscription with an already created content
Pass Execution If
${NFVO_DUPLICATION}
=
= 0
NFVO is not permitting duplication. Skipping the test
Set Headers
{"Accept": "
${ACCEPT_JSON}
"}
Set Headers
{"Content-Type": "
${CONTENT_TYPE_JSON}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"
${AUTHORIZATION_HEADER}
":"
${AUTHORIZATION_TOKEN}
"}
...
...
SOL005/NSDManagement-API/Subscriptions.robot
View file @
9c7a1243
...
...
@@ -7,7 +7,7 @@ Library OperatingSystem
Library
JSONLibrary
Library
Process
Library
REST
${NFVO_SCHEMA}
://
${NFVO_HOST}
:
${NFVO_PORT}
ssl_verify=false
Suite Setup
Create Sessions
Create Tag
Suite Setup
Create Sessions
Suite Teardown
Terminate All Processes
kill=true
*** Test Cases ***
...
...
@@ -78,7 +78,7 @@ Create new NSD Management subscription
Check HTTP Response Status Code Is
201
Check HTTP Response Body Json Schema Is
NsdmSubscription
Check HTTP Response Body NsdmSubscription Attributes Values Match the Issued Subscription
Check Postcondition NSD Management Subscription Is Set
Check Postcondition NSD Management Subscription Is Set
Create duplicated NSD Management subscription with NFVO not creating duplicated subscriptions
...
...
@@ -112,7 +112,7 @@ Create duplicated NSD Management subscription with NFVO creating duplicated subs
Check HTTP Response Status Code Is
201
Check HTTP Response Body Json Schema Is
NsdmSubscription
Check HTTP Response Body NsdmSubscription Attributes Values Match the Issued Subscription
Check Postcondition NSD Management Subscription Is Set
Check Postcondition NSD Management Subscription Is Set
PUT NSD Management Subscriptions - Method not implemented
...
...
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