diff --git a/SOL005/NSDManagement-API/IndividualNSDescriptor.robot b/SOL005/NSDManagement-API/IndividualNSDescriptor.robot index 3e73bee64ab67d80817c9b86dfadff6a0cb00270..4504ead02a68b1a5bd3e69674dff49da5750a607 100644 --- a/SOL005/NSDManagement-API/IndividualNSDescriptor.robot +++ b/SOL005/NSDManagement-API/IndividualNSDescriptor.robot @@ -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 diff --git a/SOL005/NSDManagement-API/NSDescriptors.robot b/SOL005/NSDManagement-API/NSDescriptors.robot index 243112559e6421c062c42259180df93eb8555e8b..fca4a31c45f3bacd1467712754f98e8b9c91e17b 100644 --- a/SOL005/NSDManagement-API/NSDescriptors.robot +++ b/SOL005/NSDManagement-API/NSDescriptors.robot @@ -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