Newer
Older
"tp_id": "TP/NGSI-LD/CB/HTTP/044_02",
"test_objective": "Verify that PATCH HTTP requests can be done with \"application/merge-patch+json\" as Content-Type",
"reference": "ETSI GS CIM 009 V1.3.1 [], clause 6.3.4",
"config_id": "",
"parent_release": "v1.3.1",
"clauses": [
"6.3.4"
],
"pics_selection": "",
"keywords": [],
"teardown": "None",
lopezaguilar
committed
"initial_condition": "with {\n the SUT being in the \"initial state\" and\n the SUT containing an initial Subscription ${subscription} \n with an id set to ${subscription_id} \n}",
"name": "044_02_01 Endpoint /subscriptions/{subscriptionId}",
"permutation_tp_id": "TP/NGSI-LD/CB/HTTP/044_02_01",
"doc": "Verify that PATCH HTTP requests can be done with \"application/merge-patch+json\" as Content-Type",
"setup": "Create Initial Subscription",
"teardown": "Delete Initial Subscription",
"then": "then {\n the SUT sends a valid Response for the operation:\n Update Subscription with Response Status Code set to 204\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/subscriptions/{subscription_id}'\n method set to 'PATCH'\n Request Update Subscription and \nHeader['Link'] contain the context 'https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/raw/develop/resources/jsonld-contexts/ngsi-ld-test-suite-compound.jsonld' and\nHeader['Content-Type'] set to 'application/merge-patch+json' and\nPayload defined in file 'subscriptions/fragments/subscription-update-sample.json'\n}",
"http_verb": "PATCH",
"endpoint": "subscriptions/{subscription_id}"
"permutations": [],
"robotpath": "CommonBehaviours/CommonResponses/VerifyMergePatchJson",