Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!199Merge "3.3.1 dev" into "release 3" master,!157SOL003 VNF Lifecycle Management - Implementation of deltas between v3.3.1 and v2.7.1
This commit is part of merge request !157. Comments created here will be created in the context of that merge request.
......@@ -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
......@@ -114,4 +115,5 @@ DELETE Individual VNF Snapshot - Conflict
... Post-Conditions: none
DELETE individual VNF Snapshot - CONFLICT
Check HTTP Response Status Code Is 409
Check HTTP Response Body Json Schema Is ProblemDetails
\ No newline at end of file
Check HTTP Response Body Json Schema Is ProblemDetails
Check Postcondition VNF Snapshot Resource Existence
\ No newline at end of file
......@@ -1983,6 +1983,16 @@ DELETE individual VNF Snapshot - CONFLICT
Delete ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshots/${vnfSnapshotInfoId_InUse}
${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
......
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