Newer
Older
"test_objective": "Check that you cannot delete an unknown context source registration subscription",
"reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.11.6",
"config_id": "",
"parent_release": "v1.3.1",
"clauses": [
"5.11.6"
],
"pics_selection": "",
lopezaguilar
committed
"initial_condition": "with {\n the SUT containing an initial state\n}",
"test_cases": [
{
"name": "042_03_01 Delete Unknown Context Source Registration Subscription With Invalid Uri",
"doc": "Check that you cannot delete an unknown context source registration subscription",
"tags": [
"5_11_6",
"csrsub-delete"
],
"setup": null,
"teardown": null,
"template": null,
"then": "then {\n the SUT sends a valid Response for the operations:\n Delete Context Source Registration Subscription with Response Status Code set to 404 and\n Delete Context Source Registration Subscription with Response Body containing the type 'https://uri.etsi.org/ngsi-ld/errors/ResourceNotFound' and\n Delete Context Source Registration Subscription with Response body containing 'title' element\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/csourceSubscriptions/{subscription_id}'\n method set to 'DELETE'\n Delete Context Source Registration Subscription with id set to 'urn:ngsi-ld:Subscription:unknowSubscription'\n}",
"http_verb": "DELETE",
"endpoint": "csourceSubscriptions/{subscription_id}"
}
],
"permutations": [],
"robotpath": "ContextSource/RegistrationSubscription/DeleteContextSourceRegistrationSubscription",
"robotfile": "042_03"
}