Commit 0c6b8b56 authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

fixed issues #107,108,109

parent bb85deaf
......@@ -22,7 +22,7 @@ GET Individual Network Service Descriptor Information
GET Individual Network Service Descriptor Information
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is NsdInfo
Check HTTP Response Header Contains ETag
Check HTTP Response Header Contains Etag
Check HTTP Response Body NsdInfo Identifier matches the requested Network Service Descriptor Information
GET Individual Network Service Descriptor Information with invalid resource identifier
......@@ -50,6 +50,7 @@ Disable Individual Network Service Descriptor
Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is NsdInfoModification
Check Postcondition Network Service Descriptor is in operational state DISABLED
Check PostCondition GET Individual Network Service Descriptor Information
Check Postcondition Network Service Descriptor usage state is unmodified (Implicit)
Enable Individual Network Service Descriptor
......
......@@ -891,7 +891,6 @@ Check HTTP Response Status Code Is
Log Status code validated
Check HTTP Response Body Json Schema Is
[Arguments] ${input}
Should Contain ${response['headers']['Content-Type']} application/json
......@@ -1034,7 +1033,7 @@ Check HTTP Response Header Contains
Check HTTP Response Header Contains Etag
Should Contain ${response['headers']} Etag
Log Header is present
Set Suite Variable ${original_etag} ${response['headers]['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
......@@ -1052,3 +1051,9 @@ Check Notification Endpoint
Check LINK in Header
${linkURL}= Get Value From Json ${response['headers']} $..Link
Should Not Be Empty ${linkURL}
Check PostCondition GET Individual Network Service Descriptor Information
Set Headers {"Accept": "${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/ns_descriptors/${nsdInfoId}
Should Be Equal As Strings ${response['status']} 200
\ No newline at end of file
......@@ -191,7 +191,7 @@ Check HTTP Response Header Contains
Check HTTP Response Body Json Schema Is
[Arguments] ${input}
${schema} = Catenate ${input} .schema.json
${schema} = Catenate SEPARATOR= ${input} .schema.json
Validate Json ${schema} ${response[0]['body']}
Log Json Schema Validation OK
......
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