Loading TP/NGSI-LD/ContextInformation/Consumption/Entity/001_01.robot +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ ${expectation_filename}= building-simple-attributes-sample-expectation.jsonld ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Loading TP/NGSI-LD/ContextInformation/Consumption/Entity/001_02.robot +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ ${attribute_subcategory}= https://uri.fiware.org/ns/data-models#subCategory Check Response Status Code 201 ${response['status']} ${attributes_to_be_retrieved}= Create List ${attribute_airqualitylevel} ${attribute_subcategory} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} attrs=${attributes_to_be_retrieved} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} attrs=${attributes_to_be_retrieved} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Loading TP/NGSI-LD/ContextInformation/Consumption/Entity/001_03.robot +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ ${geometry_property}= location ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} geoproperty=${geometry_property} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} geoproperty=${geometry_property} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Loading TP/NGSI-LD/ContextInformation/Consumption/Entity/002.robot +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ Get Entity With Invalid/Missing Id [Documentation] Check that you cannot get an entity with invalid/missing id [Tags] mandatory failing ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code ${expected_status_code} ${response['status']} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ${response} No newline at end of file TP/NGSI-LD/ContextInformation/Consumption/Entity/003_01.robot +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: [Tags] mandatory failing ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 404 ${response['status']} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${ERROR_TYPE_RESOURCE_NOT_FOUND} Check Response Body Containing ProblemDetails Element Containing Title Element ${response} No newline at end of file Loading
TP/NGSI-LD/ContextInformation/Consumption/Entity/001_01.robot +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ ${expectation_filename}= building-simple-attributes-sample-expectation.jsonld ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Loading
TP/NGSI-LD/ContextInformation/Consumption/Entity/001_02.robot +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ ${attribute_subcategory}= https://uri.fiware.org/ns/data-models#subCategory Check Response Status Code 201 ${response['status']} ${attributes_to_be_retrieved}= Create List ${attribute_airqualitylevel} ${attribute_subcategory} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} attrs=${attributes_to_be_retrieved} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} attrs=${attributes_to_be_retrieved} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Loading
TP/NGSI-LD/ContextInformation/Consumption/Entity/001_03.robot +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ ${geometry_property}= location ${request} ${response}= Create Entity Selecting Content Type ${filename} ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 201 ${response['status']} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} geoproperty=${geometry_property} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} geoproperty=${geometry_property} Check Response Status Code 200 ${response['status']} Check Response Body Containing Entity element ${expectation_filename} ${entity_id} ${response} Loading
TP/NGSI-LD/ContextInformation/Consumption/Entity/002.robot +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ Get Entity With Invalid/Missing Id [Documentation] Check that you cannot get an entity with invalid/missing id [Tags] mandatory failing ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code ${expected_status_code} ${response['status']} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ${response} No newline at end of file
TP/NGSI-LD/ContextInformation/Consumption/Entity/003_01.robot +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ ${building_id_prefix}= urn:ngsi-ld:Building: [Tags] mandatory failing ${entity_id}= Generate Random Entity Id ${building_id_prefix} ${response}= Query Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} ${response}= Get Entity ${entity_id} ${CONTENT_TYPE_LD_JSON} Check Response Status Code 404 ${response['status']} Check Response Body Containing ProblemDetails Element Containing Type Element set to ${response} ${ERROR_TYPE_RESOURCE_NOT_FOUND} Check Response Body Containing ProblemDetails Element Containing Title Element ${response} No newline at end of file