{ "tp_id": "TP/NGSI-LD/CI/Prov/EA/010_01", "test_objective": "Check that you can append entity attributes", "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.6.3", "config_id": "", "parent_release": "v1.3.1", "pics_selection": "PICS_5_6_3", "keywords": [], "teardown": "None", "initial_condition": "with {\n the SUT in the \"initial state\"\n}", "test_cases": [ { "name": "010_01_01 Append entity attributes", "permutation_tp_id": "TP/NGSI-LD/CI/Prov/EA/010_01_01", "doc": "Check that you can append entity attributes", "tags": [ "ea-append", "5_6_3" ], "setup": "Create Initial Entity", "teardown": "Delete Initial Entity", "template": "Append Attributes Without Params", "then": "then {\n the SUT sends a valid Response for the operations:\n Append Entity Attributes with Response Status Code set to 204 and\n Retrieve Entity by Id with Updated Entity set to ${entity}\n}", "when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/{id}/attrs'\n method set to 'POST'\n Append Entity Attributes and\n Query Parameter: id set to '${entity_id}' and\n Query Parameter: fragment_filename set to 'vehicle-new-attribute-fragment.jsonld' and\n Query Parameter: content_type set to 'application/ld+json'\n}", "http_verb": "POST", "endpoint": "entities/{id}/attrs" }, { "name": "010_01_02 Append entity attributes with different datasetid", "permutation_tp_id": "TP/NGSI-LD/CI/Prov/EA/010_01_02", "doc": "Check that you can append entity attributes", "tags": [ "ea-append", "5_6_3" ], "setup": "Create Initial Entity", "teardown": "Delete Initial Entity", "template": "Append Attributes Without Params", "then": "then {\n the SUT sends a valid Response for the operations:\n Append Entity Attributes with Response Status Code set to 204 and\n Retrieve Entity by Id with Updated Entity set to ${entity}\n}", "when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/{id}/attrs'\n method set to 'POST'\n Append Entity Attributes and\n Query Parameter: id set to '${entity_id}' and\n Query Parameter: fragment_filename set to 'vehicle-speed-different-datasetid-fragment.jsonld' and\n Query Parameter: content_type set to 'application/ld+json'\n}", "http_verb": "POST", "endpoint": "entities/{id}/attrs" } ], "permutations": [ "when" ], "robotpath": "ContextInformation/Provision/EntityAttributes/AppendEntityAttributes", "robotfile": "010_01" }