Commit 2aa94a51 authored by Hammad Zafar's avatar Hammad Zafar Committed by Giacomo Bernini
Browse files

postcondition checks added in DELETE method for IndividualVNFSnapshot resource

parent 7b2a5b93
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -102,6 +102,7 @@ DELETE Individual VNF Snapshot
    ...    Post-Conditions: VNF Snapshot deleted
    DELETE individual VNF Snapshot
    Check HTTP Response Status Code Is    204
    Check Postcondition VNF Snapshot Resource Is Deleted

DELETE Individual VNF Snapshot - Conflict
     [Documentation]    Test ID: 7.3.1.41.9
@@ -115,3 +116,4 @@ DELETE Individual VNF Snapshot - Conflict
    DELETE individual VNF Snapshot - CONFLICT
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is    ProblemDetails
    Check Postcondition VNF Snapshot Resource Existence
 No newline at end of file
+10 −0
Original line number Diff line number Diff line
@@ -1984,6 +1984,16 @@ DELETE individual VNF Snapshot - CONFLICT
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse} 
	
Check Postcondition VNF Snapshot Resource Is Deleted
    Get individual VNF Snapshot
    Integer    response status    404
    Log    VNF Snapshot Resource deleted
    
Check Postcondition VNF Snapshot Resource Existence
    Get individual VNF Snapshot
    Integer    response status    200
    Log    VNF Snapshot Resource is not deleted

POST VNF State Snapshot
    log    Trying to perform a POST. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT}"}