Skip to content
Snippets Groups Projects
Commit f49b9e91 authored by Elian Kraja's avatar Elian Kraja
Browse files

NSDDescriptors

parent 7ba2403b
No related branches found
No related tags found
No related merge requests found
......@@ -19,11 +19,11 @@ GET Single Network Service Descriptor
${contentType}= Output response headers Content-Type
Should Contain ${contentType} application/json
Log Validation of Content-Type : OK
# Log Trying to validate response
# ${result}= Output response body
# ${json}= evaluate json.loads('''${result}''') json
# Validate Json NsdInfo.schema.json ${json}
# Log Validation OK
Log Trying to validate response
${result}= Output response body
${json}= evaluate json.loads('''${result}''') json
Validate Json NsdInfo.schema.json ${json}
Log Validation OK
GET Single Network Service Descriptor (Negative: Not found)
......@@ -51,10 +51,10 @@ PATCH Single Network Service Descriptor - (Disabling a nsdInfo)
PATCH ${apiRoot}/${apiName}/${apiVersion}/ns_descriptors/${nsdInfoId} ${body}
Integer response status 200
Log Received 200 OK as expected
# ${result}= Output response body
# ${json}= evaluate json.loads('''${result}''') json
# Validate Json NsdInfoModification.schema.json ${json}
# Log Validation of NsdInfoModifications OK
${result}= Output response body
${json}= evaluate json.loads('''${result}''') json
Validate Json NsdInfoModification.schema.json ${json}
Log Validation of NsdInfoModifications OK
PATCH Single Network Service Descriptor - (Enabling an previously disabled nsdInfo)
Log Trying to perform a PATCH. As prerequisite the nsdInfo shall be in disabled operational state
......
......@@ -19,11 +19,11 @@ GET all Network Service Descriptors
${contentType}= Output response headers Content-Type
Should Contain ${contentType} application/json
Log Validation of Content-Type : OK
# Log Trying to validate response
# ${result}= Output response body
# ${json}= evaluate json.loads('''${result}''') json
# Validate Json NsdInfos.schema.json ${json}
# Log Validation OK
Log Trying to validate response
${result}= Output response body
${json}= evaluate json.loads('''${result}''') json
Validate Json NsdInfos.schema.json ${json}
Log Validation OK
GET all Network Service Descriptors - Filter
[Documentation] The GET method queries information about multiple NS descriptor resources.
......@@ -36,11 +36,11 @@ GET all Network Service Descriptors - Filter
Integer response status 200
${contentType}= Output response headers Content-Type
Should Contain ${contentType} application/json
# Log Trying to validate response
# ${result}= Output response body
# ${json}= evaluate json.loads('''${result}''') json
# Validate Json NsdInfos.schema.json ${json}
# Log Validation OK
Log Trying to validate response
${result}= Output response body
${json}= evaluate json.loads('''${result}''') json
Validate Json NsdInfos.schema.json ${json}
Log Validation OK
GET all Network Service Descriptors - Negative (wronge filter name)
Log The GET method queries multiple NS descriptors using Attribute-based filtering parameters. Negative case, with erroneous attribute name
......@@ -116,10 +116,10 @@ POST a new Network Service Descriptors
${headers}= Output response headers
Should Contain ${headers} Location
Log Response has header Location
# ${result}= Output response body
# ${json}= evaluate json.loads('''${result}''') json
# Validate Json NsdInfo.schema.json ${json}
# Log Validation of NsdInfo OK
${result}= Output response body
${json}= evaluate json.loads('''${result}''') json
Validate Json NsdInfo.schema.json ${json}
Log Validation of NsdInfo OK
PUT all Network Service Descriptors (Method not implemented)
Log Trying to perform a PUT. This method should not be implemented
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment