diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_01.robot index 24656459860a9b53972353511dcdb66be7014419..c7928e4486e14213ecee879622512f875694282a 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_01.robot @@ -12,7 +12,7 @@ ${expectation_filename}= building-simple-attributes-expectation.jsonld *** Test Cases *** 018_01_01_Get an entity by id [Documentation] Check that you can get an entity by id - [Tags] mandatory + [Tags] /entities/{entityId} 5_7_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_02.robot index 0c6c80fd8f123d1f8587af1ee8cd02a2da18c4e9..65fdb17542b0c456c9d47f586effed0ecff10775 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_02.robot @@ -14,7 +14,7 @@ ${attribute_subcategory}= https://ngsi-ld-test-suite/context#subCategory *** Test Cases *** 018_01_02_Query some attributes from an entity [Documentation] Check that you can query some attributes from an entity - [Tags] mandatory + [Tags] /entities/{entityId} 5_7_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_03.robot index d3f20c1571268ab48068aa25b7b23f9e31aedc6f..f63cfea57a623a836e91bd81a72a7cf76e95d507 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_01_03.robot @@ -13,7 +13,7 @@ ${geometry_property}= location *** Test Cases *** 018_01_03_Query the geometry property from an entity [Documentation] Check that you can query the geometry property from an entity - [Tags] mandatory + [Tags] /entities/{entityId} 5_7_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_02.robot index d7e6dd24f20bf15741c1664267234a7094fd1ab9..5f75ed8079e2a20b58fa92d272e02d473db1db2a 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_02.robot @@ -13,7 +13,7 @@ Test Template Get Entity With Invalid/Missing Id Get Entity With Invalid/Missing Id [Arguments] ${entity_id} ${expected_status_code} ${problem_type} [Documentation] Check that you cannot get an entity with invalid/missing id - [Tags] mandatory + [Tags] /entities/{entityId} 5_7_1 ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code ${expected_status_code} ${response['status']} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_03_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_03_01.robot index 5bad223cc708a25c8147d12622c5c07fcd6b68d8..7d82ec3aff5020c699cea73c8188985a3e4099d2 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_03_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_03_01.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Cases *** Get an entity if the Entity Id is not known to the system [Documentation] Check that you cannot get an entity if the entity id or attributes are not known to the system - [Tags] mandatory + [Tags] /entities/{entityId} 5_6_6 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_03_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_03_02.robot index 024706b8e4f397b6c63fd773ff564ac21ca40311..7e3493cdaf98ade95333a296f7a876b1c10cb393 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_03_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_03_02.robot @@ -12,7 +12,7 @@ ${attribute_not_known}= property_not_found *** Test Cases *** Get an entity if an attribute is not known to the system [Documentation] Check that you cannot get an entity if an attribute is not known to the system - [Tags] mandatory + [Tags] /entities/{entityId} 5_6_6 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_04.robot index d8e6cbdd2638d986221a6a0e1a5661d2757e58e3..5ebaa22113c8515f635ea22c3eb03481224f9379 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_04.robot @@ -13,7 +13,7 @@ ${options_parameter}= keyValues *** Test Cases *** Get an entity in a simplified representation [Documentation] Check that the queried entity by Id can be returned in a simplified representation - [Tags] mandatory + [Tags] /entities/{entityId} 6_3_7 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_05.robot index 27f28091565520d122dc2246b5a3c0f7a2e73afe..4c2392da68bf12f33ccd540b3909a2f43f2199ec 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/018_05.robot @@ -14,7 +14,7 @@ ${accept_header}= application/geo+json *** Test Cases *** Get an entity by id that can be returned in a geoJSON format [Documentation] Check that the queried entity by id can be returned in a geoJSON format - [Tags] mandatory + [Tags] /entities/{entityId} 6_3_7 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_01.robot index 920357a9442096c9cc3da34a7e7e69c1a5e30303..b6548ba679b2575cb0e7dfec7fee0d4e1c2f6952 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_01.robot @@ -13,7 +13,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** Query several entities based on ids [Documentation] Check that you can query several entities based on ids - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_02.robot index 8d734a8eebe489402269c6199b27b1662506d29a..52cfd88ac3c3028ad2e8ea7ae66831ad7973c5de 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_02.robot @@ -20,7 +20,7 @@ ${parking_entity_type}= https://ngsi-ld-test-suite/context#OffStreetParking *** Test Cases *** Query several entities based on the entities types [Documentation] Check that you can query several entities based on the entities types - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${building_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${building_filename} ${building_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_03.robot index 42ab2226568e8ff253ee15292b70a0eeb4ca3c96..03ab724daa18bd1d958f652bb0bef0fbf15ea405 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_03.robot @@ -14,7 +14,7 @@ ${entity_id_pattern}= urn:ngsi-ld:Building:.* *** Test Cases *** Query several entities based on the given id pattern [Documentation] Check that you can query several entities based on the given id pattern - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_04.robot index 6c03ee7e034df3c3afc1dbfc5292b986fd4a4f33..d6f116195bd503b59ed7f89a86ba64fd37e0c961 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_04.robot @@ -16,7 +16,7 @@ ${attribute_subcategory}= https://ngsi-ld-test-suite/context#subCategory *** Test Cases *** Query several entities based on attribute names [Documentation] Check that you can query several entities based on attribute names - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_05.robot index 9b6bfb839e1b96d9af0e9642fa6fc68033b1ae3a..181cdc5d0db295833c267c867a9c37e5610cb8bd 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_01_05.robot @@ -14,7 +14,7 @@ ${geometry_property}= location *** Test Cases *** Query several entities based on a list of properties [Documentation] Check that you can query entitites based on a list of properties - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_01.robot index eb6b125858963e1463ef8eccba053601936961ee..0402dd961ba431c47efbc9161b2f5eea25bf2aa4 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_01.robot @@ -13,7 +13,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** Query several entities via POST Interaction based on ids [Documentation] Check that you can query several entities via POST Interaction based on ids - [Tags] mandatory + [Tags] /entityOperations/query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_02.robot index 69e3adab44278b587ad953359a69bc2a61a69776..c66e112345c174e86367908ff649884bec1d10a1 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_02.robot @@ -20,7 +20,7 @@ ${parking_entity_type}= https://ngsi-ld-test-suite/context#OffStreetParking *** Test Cases *** Query several entities via POST Interaction based on the entities types [Documentation] Check that you can query several entities via POST Interaction based on the entities types - [Tags] mandatory + [Tags] /entityOperations/query 5_7_2 ${building_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${building_filename} ${building_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_03.robot index 5f8b2de295f4d28563f21a322bcce08cc150e86d..9b5e746c9a09d561e20d030277b44c8945db87b6 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_03.robot @@ -14,7 +14,7 @@ ${entity_id_pattern}= urn:ngsi-ld:Building:.* *** Test Cases *** Query several entities via POST Interaction based on the given id pattern [Documentation] Check that you can query several entities via POST Interaction based on the given id pattern - [Tags] mandatory + [Tags] /entityOperations/query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_04.robot index 024e289be6bfc664cfb4ce3401fb4a6cdbc84fa4..6a42c9074e9665225d900cc8d514ddb3a8bfe871 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_04.robot @@ -14,7 +14,7 @@ ${attribute_subcategory}= https://ngsi-ld-test-suite/context#subCategory *** Test Cases *** Query several entities via POST Interaction based on attribute names [Documentation] Check that you can query several entities via POST Interaction based on attribute names - [Tags] mandatory + [Tags] /entityOperations/query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_05.robot index 9abc975d5978a38175c8cc15ead2f8bb463e2cca..46780edc609fef36e0de8ab17617050154e1e4f7 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_02_05.robot @@ -14,7 +14,7 @@ ${geometry_property}= location *** Test Cases *** Query several entities via POST Interaction based on a list of properties [Documentation] Check that you can query entitites via POST Interaction based on a list of properties - [Tags] mandatory + [Tags] /entityOperations/query 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_01.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_01.robot index 89c08f793e77b778bad65654e3dfb786b767f36b..2914b47e46b9a68042ab904f3e72b2b4866d9c4b 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_01.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_01.robot @@ -14,7 +14,7 @@ ${entity_invalid_id_two}= thisisaninvaliduri2 *** Test Cases *** Query entities based on incorrect ids [Documentation] Check that you cannot query entities if the requested ids are incorrect - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_02.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_02.robot index 22fc2947e1bca791087b2fa6e78afa9249e5c74b..11f6c57f6c3dcfb53a45bbd4b1296ecf8312c47c 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_02.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_02.robot @@ -16,7 +16,7 @@ ${invalid_entity_type_two}= invalid_entity_type_two *** Test Cases *** Query entities based on incorrect entity types [Documentation] Check that you cannot query entities if the requested entity types are incorrect - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${building_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${building_filename} ${building_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_03.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_03.robot index 6ba1a5e211cdb0626c5d621a18df9e849650b225..96f6886e9513bbb498e279d44465106cf5cef8a8 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_03.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_03.robot @@ -13,7 +13,7 @@ ${invalid_entity_id_pattern}= invalid_entity_id_pattern* *** Test Cases *** Query several entities based on incorrect id pattern [Documentation] Check that you cannot query entities if the requested id pattern is incorrect - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_04.robot index 5a8359c56e3dc6443cbe5afaf032f47aa7e90725..5d0d706a129d298e81b08f909d26f8c07a7da15e 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_04.robot @@ -14,7 +14,7 @@ ${invalid_attribute_two}= invalid_attribute_two *** Test Cases *** Query several entities based on incorrect attribute names [Documentation] Check that you cannot query entities if the requested attribute names are incorrect - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_05.robot index 1f8048c5b613583f5614621f2726c358dc40c36f..be18dd4c5416d5ec4c2cc5dc2493ebd3131c030f 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_03_05.robot @@ -13,7 +13,7 @@ ${invalid_geometry_property}= invalid_geometry_property *** Test Cases *** Query entitites when the request has a wrong geometryProperty [Documentation] Check that you cannot query entitites if the request has a wrong geometryProperty - [Tags] mandatory + [Tags] /entities/ 5_7_2 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_04.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_04.robot index 1b4d8caf0cf9ba9490b8205bd4020cb892ced0ca..27d45e27ca3b07b48b5b1e6544268063b943c45b 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_04.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_04.robot @@ -14,7 +14,7 @@ ${entity_type}= https://ngsi-ld-test-suite/context#Building *** Test Cases *** Query entities in a simplified representation [Documentation] Check that the queried entities by Id can be returned in a simplified representation - [Tags] mandatory + [Tags] /entities/ 6_3_7 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_05.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_05.robot index be2e37ade03b8e2a1068dbb77a45a601a6bada3c..0a32c62e50a356b2298f4b714404f5fd0f9650e8 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_05.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_05.robot @@ -14,7 +14,7 @@ ${accept_header}= application/geo+json *** Test Cases *** Get an entity by id that can be returned in a geoJSON format [Documentation] Check that the queried entities by id can be returned in a geoJSON format - [Tags] mandatory + [Tags] /entities/ 6_3_7 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_06.robot b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_06.robot index 9f6639ef4cb30896004969b4921ac528752aad28..d23a840145552545fd8e87e62d5e27f64cbf1a3f 100644 --- a/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_06.robot +++ b/TP/NGSI-LD/ContextInformation/Consumption/Entity/019_06.robot @@ -14,7 +14,7 @@ ${limit}= 2 *** Test Cases *** Query entities specifying a maximum number of results [Documentation] Check that you can query entities specifying a maximum number of results - [Tags] mandatory + [Tags] /entities/ 6_3_10 ${first_entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${first_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot index 16841d9624b8b68135830bdf157c424398796aba..7f4ed1cc8a9b5bfe448c64539b4bc4bc8cc50938 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_01.robot @@ -19,7 +19,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: Create Entity Scenarios [Arguments] ${filename} ${content_type} [Documentation] Check that you can create an entity - [Tags] mandatory + [Tags] /entities/ 5_6_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_02.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_02.robot index be92a3fe8da741aed86da02e9bd4e2fdf34d9d0a..77fa8ad817e4de361624e7771f302132ad5cfb81 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_02.robot @@ -14,7 +14,7 @@ Test Template Create Entity With Invalid Request Scenarios Create Entity With Invalid Request Scenarios [Arguments] ${filename} [Documentation] Check that you cannot create an entity with an invalid request - [Tags] mandatory + [Tags] /entities/ 5_6_1 Request Entity From File ${filename} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot index 7b18be4f2042e0bbe9bf8a030eb22bb781ef7704..9a8fdc7a3fa1f4c9f0d0bbe29e660de34287ffda 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/CreateEntity/001_03.robot @@ -12,7 +12,7 @@ ${content_type}= application/ld+json *** Test Case *** Create one valid entity and one invalid entity [Documentation] Check that you cannot create an entity with an existing id - [Tags] mandatory + [Tags] /entities/ 5_6_1 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${content_type} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot index a476e0f0ec7b86cfb502f726699da83a6e663fae..8254de9f6632aef2c7f8e4d47cba6e370f551b59 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_01.robot @@ -10,7 +10,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: *** Test Case *** Delete an entity [Documentation] Check that you can delete an entity by id - [Tags] mandatory + [Tags] /entities/{entityId} 5_6_6 ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${request} ${response}= Create Entity Selecting Content Type building-simple-attributes-sample.jsonld ${entity_id} application/ld+json diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot index 8b83523b0181472b2e87c449d3581bb0e38b5bbe..01389e53182c6c18c15732fea848515bf96863db 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_02.robot @@ -17,7 +17,7 @@ Test Template Delete Entity Scenarios Delete Entity Scenarios [Arguments] ${entity_id} ${expected_status_code} ${problem_type} [Documentation] Check that you cannot delete an entity with invalid/missing id - [Tags] mandatory + [Tags] /entities/{entityId} 5_6_6 ${response}= Delete Entity by Id Returning Response ${entity_id} Check Response Status Code ${expected_status_code} ${response['status']} diff --git a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot index 1c29651d8dfe5522c1367b3cd4cf67a936f85774..3e24e854830aa6a5cd3e36b68573ec8b1b80a0da 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/Entities/DeleteEntity/002_03.robot @@ -11,7 +11,7 @@ ${expected_status_code}= 404 *** Test Case *** Delete an entity with an id not known to the system [Documentation] Check that you cannot delete an entity if the entity id is not known to the system - [Tags] mandatory + [Tags] /entities/{entityId} 5_6_6 ${entity_id}= Generate Random Entity Id ${building_id_prefix} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_01.robot index e0f9e842c76163b2798f541b360f6508ccaa2bd0..759b23ab5b4feb82524f7a095088b8ed68f1d874 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_01.robot @@ -20,7 +20,7 @@ ${filename}= vehicle-speed-two-datasetid-sample.jsonld Append Attributes [Arguments] ${status_code} ${overwrite} ${fragment_filename} ${expectation_filename} [Documentation] Check that you can append entity attributes - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/ 5_6_3 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_02.robot index acd9ea6e334b6356342609269d6e745f66ef0145..3564e43f5a8913df8f2ae12448338eff86edda65 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_02.robot @@ -23,7 +23,7 @@ ${invalid_fragment_filename}= invalid-fragment.jsonld Append Attributes [Arguments] ${entity_invalid_id} [Documentation] Check that you cannot append entity attributes with invalid/missing id or invalid request body - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/ 5_6_3 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} @@ -44,8 +44,8 @@ Append entity attributes with invalid entity fragments ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} - ${response}= Append Entity Attributes Using Session ${entity_id} ${invalid_fragment_filename} ${CONTENT_TYPE_LD_JSON} ${EMPTY} - Check Response Status Code ${response} + Append Entity Attributes Using Session ${entity_id} ${invalid_fragment_filename} ${CONTENT_TYPE_LD_JSON} ${EMPTY} + Check Response Status Code 400 ${response['status']} Check Response Body Type When Using Session Request ${response.json()} ${ERROR_TYPE_BAD_REQUEST_DATA} Check Response Body Title When Using Session Request ${response.json()} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_03.robot index 3459d6d09b9d23c097945e63b3f4bd3389add3f1..eee1bf469e88e59e66b53b5d898ecefe91699707 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/010_03.robot @@ -11,7 +11,7 @@ ${fragment_filename}= vehicle-attribute-to-add-fragment.jsonld *** Test Cases *** Append entity attributes when the entity id is not known to the system [Documentation] Check that you cannot append entity attributes if the entity id or attributes are not known to the system - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/ 5_6_3 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${response}= Append Entity Attributes ${entity_id} ${fragment_filename} ${CONTENT_TYPE_LD_JSON} ${EMPTY} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_01.robot index cc7f73d43251761f83dbc1d5cc5dd4b1d7096086..b24087315c90b942639560fb3a54b4926c287671 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_01.robot @@ -20,7 +20,7 @@ ${filename}= vehicle-two-datasetid-attributes-sample.jsonld Update Attributes [Arguments] ${status_code} ${fragment_filename} ${expectation_filename} [Documentation] Check that you can update entity attributes - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/ 5_6_2 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_02.robot index bbe3cec011fdcdca39f47f5a94dcec967c8231dd..ccfb6c0dcecd2598abef0bd45ecccc2ea03a846f 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_02.robot @@ -19,7 +19,7 @@ ${vehicle_id_prefix}= urn:ngsi-ld:Vehicle: Update Attributes [Arguments] ${entity_invalid_id} ${filename} ${fragment_filename} [Documentation] Check that you cannot update entity attributes with invalid/missing id or invalid request body - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/ 5_6_2 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} @@ -35,15 +35,15 @@ Update Attributes Update entity attributes with invalid entity fragments [Arguments] ${filename} ${fragment_filename} [Documentation] Check that you cannot update an attribute if the entity fragment is invalid - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/ 5_6_2 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} Output ${fragment_filename} ${response}= Update Entity Attributes Using Session ${entity_id} ${fragment_filename} ${CONTENT_TYPE_LD_JSON} ${EMPTY} - #Check Response Status Code ${response} - #Check Response Body Type When Using Session Request ${response.json()} ${ERROR_TYPE_BAD_REQUEST_DATA} - #Check Response Body Title When Using Session Request ${response.json()} + Check Response Status Code 400 ${response} + Check Response Body Type When Using Session Request ${response.json()} ${ERROR_TYPE_BAD_REQUEST_DATA} + Check Response Body Title When Using Session Request ${response.json()} [Teardown] Delete Entity by Id Returning Response ${entity_id} \ No newline at end of file diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_03.robot index f309554e9b209591e8244dfbcff9e2496d00679b..84b9017a135ed65680fd65fffee0919c072398eb 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/011_03.robot @@ -11,7 +11,7 @@ ${fragment_filename}= vehicle-speed-two-datasetid-01-fragment.jsonld *** Test Cases *** Update entity attributes when the entity id is not known to the system [Documentation] Check that you cannot update entity attributes if the entity id or attributes are not known to the system - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/ 5_6_2 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${response}= Update Entity Attributes ${entity_id} ${fragment_filename} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_01.robot index 76718a5b3ab2ab29416c07844e9b7c01c4145df4..ea7b4ae70e399acd65c1504fc1cc565a7e979f35 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_01.robot @@ -19,7 +19,7 @@ ${status_code}= 204 Update Attributes [Arguments] ${fragment_filename} ${attribute_id} [Documentation] Check that you can perform a partial update on an entity attribute - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/{attrId} 5_6_4 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_02.robot index 8444f5f2b22bad42dbd0664fde4fca027219a5fc..9dd3a92c9694308da1b8ac1e4f70a609b9915cfc 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_02.robot @@ -24,7 +24,7 @@ ${status_code}= 400 Update Attributes [Arguments] ${entity_id} ${attribute_id} ${fragment_filename} [Documentation] Check that you cannot perform a partial update on an entity attribute with invalid/missing ids - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/{attrId} 5_6_4 ${init_entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${init_entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_03.robot index b7ec1196f0938cecef0a28018d7bae0a5008dfa8..8e87253082a37f9aa034fb52cc1540a5051f8b4e 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/012_03.robot @@ -23,7 +23,7 @@ ${attribute_id}= speed Partial Update Attributes [Arguments] ${entity_id} ${fragment_filename} [Documentation] Check that you cannot perform a partial update on an entity attribute if the entity id or attribute is not known to the system - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/{attrId} 5_6_4 ${request} ${response}= Create Entity Selecting Content Type ${filename} ${valid_entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_01.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_01.robot index 8361ea941c9d4afe31ba078a12dcb3217f88a4a8..d9e1bacd19e2111919c17002c349b59603276a67 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_01.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_01.robot @@ -21,7 +21,7 @@ ${attribute_id}= speed Delete Attributes [Arguments] ${datasetId} ${deleteAll} [Documentation] Check that you can delete an attribute from an entity - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/{attrId} 5_6_5 ${entity_id}= Generate Random Entity Id ${vehicle_id_prefix} ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_02.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_02.robot index 5ee5aaa5fbc4ba9bd56168e209edf42a6b06548e..e936abc9ac15c32c77f5009174aa7750e82178b8 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_02.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_02.robot @@ -21,7 +21,7 @@ ${filename}= vehicle-two-datasetid-attributes-sample.jsonld Delete Attributes [Arguments] ${entity_id} ${attribute_id} [Documentation] Check that you cannot delete an attribute from an entity with invalid/missing ids - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/{attrId} 5_6_5 ${request} ${response}= Create Entity Selecting Content Type ${filename} ${valid_entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} diff --git a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_03.robot b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_03.robot index 889e2450f721c73bf4b2c2dad8dc0ed9889eb23d..565357f3f2c911e180ac440fa9908e982ecd7338 100644 --- a/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_03.robot +++ b/TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/013_03.robot @@ -21,7 +21,7 @@ ${filename}= vehicle-two-datasetid-attributes-sample.jsonld Delete Attributes [Arguments] ${entity_id} ${attribute_id} ${datasetId} [Documentation] Check that you cannot delete an attribute from an entity with invalid/missing ids - [Tags] mandatory + [Tags] /entities/{entityId}/attrs/{attrId} 5_6_5 ${request} ${response}= Create Entity Selecting Content Type ${filename} ${valid_entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_01.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_01.robot index 43ef87edc05eb3b493d4c1ee4e23603f19e67f01..897e492ed6d882495d4526189ab98f1f9f704779 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_01.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create Context Source Registration With Specific Date Expiration Date [Documentation] Check that you can create a context source registration with specific ID and expiration date - [Tags] mandatory + [Tags] /csourceRegistrations/ 5_9_2 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_02.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_02.robot index 55dabb2e0bb3975d0a577b42cb2905a66d117eae..1d38410775da61811a38d6c123f2ec982a5c152b 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_02.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create Context Source Registration That Never Expires [Documentation] Check that you can create a context source registration that never expires - [Tags] mandatory + [Tags] /csourceRegistrations/ 5_9_2 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_03.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_03.robot index aa59c63b208ca338e2a8b5f5400e8f5a2d479a5e..97fe3165ab6391fe9e9de732d9efd1490c4c65c9 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_01_03.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= csourceRegistrations/context-source-registr *** Test Case *** Create Context Source Registration Without A Sprecified ID [Documentation] Check that when creating a context source registration without specifying an ID - [Tags] mandatory + [Tags] /csourceRegistrations/ 5_9_2 ${payload}= Load Json From File ${EXECDIR}/data/${registration_payload_file_path} ${request} ${response}= Create Context Source Registration With Return ${payload} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_02.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_02.robot index b906d86b4689fffd8b1cb566449d4c885f0d98f3..8be35651420954cfc2445fa30c5d5cb20bd3624d 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_02.robot @@ -20,7 +20,7 @@ ${registration_payload_file_path}= context-source-registration-invalid-sample. Create Context Source With Invalid Content [Arguments] ${filename} [Documentation] Check that you cannot create a context source with invalid content - [Tags] mandatory + [Tags] /csourceRegistrations/ 5_9_2 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${filename} diff --git a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_03.robot b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_03.robot index 69783222eb6567436b03d182a505e24f5c612ba7..823ba8042fcd71a7d67f493f8587667870a82b77 100644 --- a/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/CreateContextSourceRegistration/033_03.robot @@ -12,7 +12,7 @@ ${filename}= csourceRegistrations/context-source-registration-simple-sample.jso *** Test Cases *** Create a context source registration that already exists [Documentation] Check that you cannot create a context source registration that already exists - [Tags] mandatory + [Tags] /csourceRegistrations/ 5_9_2 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/${filename} ${updated_payload}= Update Value To Json ${payload} $..id ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot index aa79d926fe7c69adc2cfece683fa2da8704883d0..a5febdfa594fa3a67b764c19a3d10ce390d95b46 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_01.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= context-source-registration-simple-sample.j *** Test Case *** Delete a context source registration by id [Documentation] Check that you can delete a context source registration by id - [Tags] mandatory + [Tags] /csourceRegistrations/{registrationId} 5_9_4 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/csourceRegistrations/${registration_payload_file_path} ${updated_payload}= Update Value To Json ${payload} $..id ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot index f70d18b19d8dba976768efc7ec5f2c46f9a0dcb4..610c810066d13c3be7bc979277cdd08b3da338ab 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_02.robot @@ -18,7 +18,7 @@ ${filename}= context-source-registration-simple-sample.jsonld Delete Context Source [Arguments] ${invalid_registration_id} [Documentation] Check that you cannot delete a context source registration under some conditions - [Tags] mandatory + [Tags] /csourceRegistrations/{registrationId} 5_9_3 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/csourceRegistrations/${filename} ${updated_payload}= Update Value To Json ${payload} $..id ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot index b40e6f947e0dc907a04bdeb633b93bbdfb63a811..1f44f02841a285b24ca140ef8e7c69668be0e6f1 100644 --- a/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/DeleteContextSourceRegistration/035_03.robot @@ -12,7 +12,7 @@ ${registration_payload_file_path}= context-source-registration-simple-sample.j *** Test Case *** Delete a context source registration by id [Documentation] Check that you cannot delete a context source registration by id if the id is not known to the system - [Tags] mandatory + [Tags] /csourceRegistrations/{registrationId} 5_9_3 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${response}= Delete Context Source Registration With Return ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot index 3488c445e1ae394650dc2335e6a661d711622628..23cd6558177a15eb3aa1814518e079e53689f5dc 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_01.robot @@ -17,7 +17,7 @@ ${registration_id_prefix}= urn:ngsi-ld:Registration: Update Context Source [Arguments] ${filename} ${update_filename} [Documentation] Check that you can update a context source registration by id - [Tags] mandatory + [Tags] /csourceRegistrations/{registrationId} 5_9_3 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/csourceRegistrations/${filename} ${updated_payload}= Update Value To Json ${payload} $..id ${registration_id} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot index 5157844f43bfa4e27b484a00a0582be3783d4ada..3b4f3c29c198ec5f84c238488826603fbfc71d92 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_02.robot @@ -12,14 +12,14 @@ ${filename}= context-source-registration-simple-sample.jsonld ${registration_payload_file_path}= context-source-registration-invalid-sample.jsonld *** Test Case *** -034_02_01_Update a context source registration by id if the Id is not present - Update Context Source ${EMPTY} fragments/context-source-registration-different-type-sample.jsonld -034_02_02_Update a context source registration by id if the Id is not a valid URI - Update Context Source invalidURI fragments/context-source-registration-different-type-sample.jsonld -034_02_03_Update a context source registration if the request body is not of the same data type - Update Context Source ${valid_registration_id} fragments/context-source-registration-different-type-sample.jsonld -034_02_04_Update a context source registration if you attempt to remove a mandatory property - Update Context Source ${valid_registration_id} context-source-registration-invalid-structure-sample.jsonld +#034_02_01_Update a context source registration by id if the Id is not present +# Update Context Source ${EMPTY} fragments/context-source-registration-different-type-sample.jsonld +#034_02_02_Update a context source registration by id if the Id is not a valid URI +# Update Context Source invalidURI fragments/context-source-registration-different-type-sample.jsonld +#034_02_03_Update a context source registration if the request body is not of the same data type +# Update Context Source ${valid_registration_id} fragments/context-source-registration-different-type-sample.jsonld +#034_02_04_Update a context source registration if you attempt to remove a mandatory property +# Update Context Source ${valid_registration_id} context-source-registration-invalid-structure-sample.jsonld 034_02_05_Update a context source registration if the request body is invalid Update a context source registration if the request body is invalid @@ -27,7 +27,7 @@ ${registration_payload_file_path}= context-source-registration-invalid-sample.j Update Context Source [Arguments] ${registration_id} ${fragment_filename} [Documentation] Check that you cannot update a context source registration under some conditions - [Tags] mandatory + [Tags] /csourceRegistrations/{registrationId} 5_9_3 ${payload}= Load Json From File ${EXECDIR}/data/csourceRegistrations/${filename} ${updated_payload}= Update Value To Json ${payload} $..id ${valid_registration_id} ${request} ${response}= Create Context Source Registration With Return ${updated_payload} @@ -43,7 +43,7 @@ Update Context Source Update a context source registration if the request body is invalid [Documentation] Check that you cannot update a context source registration if the request body is invalid - [Tags] mandatory + [Tags] /csourceRegistrations/{registrationId} 5_9_3 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${payload}= Load Json From File ${EXECDIR}/data/csourceRegistrations/${filename} ${updated_payload}= Update Value To Json ${payload} $..id ${registration_id} @@ -51,7 +51,7 @@ Update a context source registration if the request body is invalid Check Response Status Code 201 ${response['status']} ${response}= Update Context Source Registration Using Session ${registration_id} ${registration_payload_file_path} ${CONTENT_TYPE_LD_JSON} - Check Response Status Code ${response} + Check Response Status Code 400 ${response} Check Response Body Type When Using Session Request ${response.json()} ${ERROR_TYPE_BAD_REQUEST_DATA} Check Response Body Title When Using Session Request ${response.json()} diff --git a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot index fffb4366ac094fdf31e0b1193ebfc6e4ecba6371..d05e504a279954004e461c48043dd4ed3cb9e4bb 100644 --- a/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot +++ b/TP/NGSI-LD/ContextSource/Registration/UpdateContextSourceRegistration/034_03.robot @@ -11,7 +11,7 @@ ${filename}= context-source-registration-simple-sample.jsonld *** Test Case *** Update a context source registration by id if the id is not known to the system [Documentation] Check that you cannot update a context source registration by id if the id is not known to the system - [Tags] mandatory + [Tags] /csourceRegistrations/{registrationId} 5_9_3 ${registration_id}= Generate Random Entity Id ${registration_id_prefix} ${fragment}= Load Json From File ${EXECDIR}/data/csourceRegistrations/${filename} ${fragment_with_id}= Update Value To Json ${fragment} $..id ${registration_id}