Newer
Older
"tp_id": "TP/NGSI-LD/CI/Prov/E/001_01",
"test_objective": "Check that you can create an entity",
"reference": "ETSI GS CIM 009 V1.3.1 [], clause 5.6.1",
"config_id": "",
"parent_release": "v1.3.1",
"pics_selection": "PICS_5_6_1",
"keywords": [],
"teardown": "None",
"initial_condition": "with {\n the SUT in the \"initial state\"\n}",
"test_cases": [
{
"name": "001_01_01 MinimalEntity",
"permutation_tp_id": "TP/NGSI-LD/CI/Prov/E/001_01_01",
"doc": "Check that you can create an entity",
"teardown": "Delete Initial Entity",
"template": "Create Entity Scenarios",
"then": "then {\n the SUT sends a valid Response containing:\n Response Header: Location containing ${registration_id} and\n Created Entity set to ${entity} and\n Response Status Code set to 201\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'POST'\n Request Header['Content-Type'] set to 'application/json' and\n payload defined in file: 'building-minimal-without-context-sample.jsonld'\n}",
"name": "001_01_02 EntityWithSimpleProperties",
"permutation_tp_id": "TP/NGSI-LD/CI/Prov/E/001_01_02",
"doc": "Check that you can create an entity",
"teardown": "Delete Initial Entity",
"template": "Create Entity Scenarios",
"then": "then {\n the SUT sends a valid Response containing:\n Response Header: Location containing ${registration_id} and\n Created Entity set to ${entity} and\n Response Status Code set to 201\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'POST'\n Request Header['Content-Type'] set to 'application/ld+json' and\n payload defined in file: 'building-simple-attributes-sample.jsonld'\n}",
"name": "001_01_03 EntityWithRelationshipsProperties",
"permutation_tp_id": "TP/NGSI-LD/CI/Prov/E/001_01_03",
"doc": "Check that you can create an entity",
"teardown": "Delete Initial Entity",
"template": "Create Entity Scenarios",
"then": "then {\n the SUT sends a valid Response containing:\n Response Header: Location containing ${registration_id} and\n Created Entity set to ${entity} and\n Response Status Code set to 201\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'POST'\n Request Header['Content-Type'] set to 'application/ld+json' and\n payload defined in file: 'building-relationship-of-property-sample.jsonld'\n}",
"http_verb": "POST",
"endpoint": "entities/"
},
{
"name": "001_01_04 EntityWithLocationAttribute",
"permutation_tp_id": "TP/NGSI-LD/CI/Prov/E/001_01_04",
"doc": "Check that you can create an entity",
"tags": [
"5_6_1",
"e-create"
],
"setup": null,
"teardown": "Delete Initial Entity",
"template": "Create Entity Scenarios",
"then": "then {\n the SUT sends a valid Response containing:\n Response Header: Location containing ${registration_id} and\n Created Entity set to ${entity} and\n Response Status Code set to 201\n}",
"when": "when {\n the SUT receives a Request from the client containing:\n URL set to '/ngsi-ld/v1/entities/'\n method set to 'POST'\n Request Header['Content-Type'] set to 'application/ld+json' and\n payload defined in file: 'building-location-attribute-sample.jsonld'\n}",
"http_verb": "POST",
"endpoint": "entities/"
}
],
"permutations": [
"when"
],
"robotpath": "ContextInformation/Provision/Entities/CreateEntity",
"robotfile": "001_01"