Commit 8f143117 authored by Mudassar Khan's avatar Mudassar Khan Committed by Giacomo Bernini
Browse files

check for Location in Reponse Header as per SOL 003 version 5.1.1

parent feccb93e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ PATCH Individual VNFInstance
    ...    Post-Conditions: VNFInstance modified
    PATCH individual vnfInstance
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains    Location
    Check Operation Occurrence Id existence

PATCH Individual VNFInstance Precondition failed
+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ POST Create a new subscription
    ...    Post-Conditions: in response header Location shall not be null
    Post Create subscription
    Check HTTP Response Status Code Is    201
    Check HTTP Response Header Contains    Location
    Check HTTP Response Body Json Schema Is    Subscription
    
Create a new Subscription - DUPLICATION
@@ -34,6 +35,7 @@ Create a new Subscription - DUPLICATION
    ...    Post-Conditions: in response header Location shall not be null
    Post Create subscription - DUPLICATION
    Check HTTP Response Status Code Is    201
    Check HTTP Response Header Contains    Location
    Check HTTP Response Body Json Schema Is    Subscription

Create a new Subscription - NO-DUPLICATION
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ POST Create a new vnfInstance
    ...    Post-Conditions: VNF instance created
    POST Create a new vnfInstance
    Check HTTP Response Status Code Is    201
    Check HTTP Response Header Contains    Location
    Check HTTP Response Body Json Schema Is    vnfInstance

GET information about multiple VNF instances  
@@ -237,6 +238,7 @@ POST Create a new vnfInstance with permitted authorization scope
    ...    Post-Conditions: VNF instance created
    POST Create a new vnfInstance with permitted authorization scope
    Check HTTP Response Status Code Is    201
    Check HTTP Response Header Contains    Location
    Check HTTP Response Body Json Schema Is    vnfInstance

POST Create a new vnfInstance with not permitted authorization scope