Commit c2a43680 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed issue #164 on v2.6.1

parent 55c08a5e
......@@ -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}
......
......@@ -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 ***
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment