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
c2a43680
Commit
c2a43680
authored
Feb 23, 2021
by
Giacomo Bernini
Browse files
fixed issue
#164
on v2.6.1
parent
55c08a5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
SOL005/NSDManagement-API/NSDManagementKeywords.robot
View file @
c2a43680
...
...
@@ -16,6 +16,11 @@ 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
GET all Network Service Descriptors Information
Log
The GET method queries multiple NS descriptors
Set Headers
{"Accept": "
${ACCEPT_JSON}
"}
...
...
@@ -844,7 +849,6 @@ 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}
"}
...
...
@@ -1048,7 +1052,6 @@ Check HTTP Response Header Contains Etag
Set Suite Variable
${original_etag}
${response['headers]['ETag']}
Create Sessions
Pass Execution If
${NFVO_CHECKS_NOTIF_ENDPOINT}
=
= 0
MockServer not started as NFVO is not checking the notification endpoint
Start Process
java
-jar
${MOCK_SERVER_JAR}
-serverPort
${callback_port}
alias=mockInstance
Wait For Process
handle=mockInstance
timeout=5s
on_timeout=continue
Create Mock Session
${callback_uri}
:
${callback_port}
...
...
SOL005/NSDManagement-API/Subscriptions.robot
View file @
c2a43680
...
...
@@ -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
Suite Setup
Create Sessions
Create Tag
Suite Teardown
Terminate All Processes
kill=true
*** Test Cases ***
...
...
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