{ "tp_id": "TP/NGSI-LD/CS/CSR/033_01_01", "test_objective": "Check that you can create a context source registration with specific ID and expiration date", "reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.9.2", "config_id": "", "parent_release": "v1.3.1", "clauses": [ "5.9.2" ], "pics_selection": "", "keywords": [ "Delete Created Context Source Registrations" ], "teardown": "Delete Created Context Source Registrations", "initial_condition": "with {\n the SUT containing an initial state\n}", "test_cases": [ { "name": "033_01_01 Create Context Source Registration With Specific Date Expiration Date", "permutation_tp_id": "TP/NGSI-LD/CS/CSR/033_01_01", "doc": "Check that you can create a context source registration with specific ID and expiration date", "tags": [ "5_9_2", "csr-create" ], "setup": null, "teardown": null, "template": null, "then": "then {\n the SUT sends a valid Response for the operations:\n Create Context Source Registration With Return with Response Status Code set to 201 and\n Retrieve Context Source Registration with Check Created Resource Set To and\n Query Parameter: 'ignored_keys' set to '${None}'\n}", "when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/csourceRegistrations'\n method set to 'POST'\n Request Header['Content-Type'] set to 'application/ld+json' and\n payload defined in file: '${registration_payload}'\n}", "http_verb": "POST", "endpoint": "csourceRegistrations" } ], "permutations": [], "robotpath": "ContextSource/Registration/RegisterContextSource", "robotfile": "033_01_01" }