Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"tp_id": "TP/NGSI-LD/CI/Prov/EA/010_06",
"test_objective": "Check that you can append a LanguageProperty property to an entity",
"reference": "ETSI GS CIM 009 V1.4.1 [], clauses 4.5.18, 5.6.3",
"config_id": "",
"parent_release": "v1.4.1",
"clauses": [
"4.5.18",
"5.6.3"
],
"pics_selection": "",
"keywords": [
"Append Attributes Without Params",
"Create Initial Entity",
"Delete Initial Entity"
],
"teardown": "None",
"initial_condition": "with {\n the SUT being in the \"initial state\" and\n the SUT containing an initial Entity ${entity} \n with an id set to ${entityId} \n}",
"test_cases": [
{
"name": "010_06_01 Append a LanguageProperty property",
"permutation_tp_id": "TP/NGSI-LD/CI/Prov/EA/010_06_01",
"doc": "Check that you can append a LanguageProperty property to an entity",
"tags": [
"4_5_18",
"5_6_3",
"ea-append",
"since_v1.4.1"
],
"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-language-property-fragment.jsonld' and\n Query Parameter: content_type set to 'application/ld+json'\n}",
"http_verb": "POST",
"endpoint": "entities/{id}/attrs"
}
],
"permutations": [],
"robotpath": "ContextInformation/Provision/EntityAttributes/AppendEntityAttributes",
"robotfile": "010_06"
}