Loading TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot +4 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,10 @@ ${registration_filename}= csourceRegistrations/context-source-registration ${response}= Batch Create Entities @{entities_to_be_created} content_type=${CONTENT_TYPE_LD_JSON} Check Response Status Code ${expected_status_code} ${response.status_code} Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${response.json()['errors'][0]['error']} ... ${ERROR_TYPE_LD_CONTEXT_NOT_AVAILABLE} Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()['errors'][1]['error']} ... ${ERROR_TYPE_LD_CONTEXT_NOT_AVAILABLE} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} [Teardown] Batch Delete Entities entities_ids_to_be_deleted=@{entities_ids_to_be_created} Loading TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot +1 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,6 @@ ${building_id_prefix}= urn:ngsi-ld:Building: Check Response Status Code 400 ${response.status_code} Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${response.json()['errors'][0]['error']} ... ${ERROR_TYPE_BAD_REQUEST_DATA} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot +1 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,6 @@ ${building_id_prefix}= urn:ngsi-ld:Building: Check Response Status Code 400 ${response.status_code} Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${response.json()['errors'][0]['error']} ... ${ERROR_TYPE_BAD_REQUEST_DATA} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot +1 −1 Original line number Diff line number Diff line Loading @@ -23,6 +23,6 @@ Batch Upsert Entity With Invalid Request Scenarios ${response}= Batch Request Entities From File upsert filename=${filename} Check Response Status Code 400 ${response.status_code} Check RL Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${response.json()['errors'][0]['error']} ... ${problem_type} Check RL Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} Loading
TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyLdContextNotAvailable/043_01.robot +4 −1 Original line number Diff line number Diff line Loading @@ -76,7 +76,10 @@ ${registration_filename}= csourceRegistrations/context-source-registration ${response}= Batch Create Entities @{entities_to_be_created} content_type=${CONTENT_TYPE_LD_JSON} Check Response Status Code ${expected_status_code} ${response.status_code} Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${response.json()['errors'][0]['error']} ... ${ERROR_TYPE_LD_CONTEXT_NOT_AVAILABLE} Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()['errors'][1]['error']} ... ${ERROR_TYPE_LD_CONTEXT_NOT_AVAILABLE} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} [Teardown] Batch Delete Entities entities_ids_to_be_deleted=@{entities_ids_to_be_created} Loading
TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_06.robot +1 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,6 @@ ${building_id_prefix}= urn:ngsi-ld:Building: Check Response Status Code 400 ${response.status_code} Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${response.json()['errors'][0]['error']} ... ${ERROR_TYPE_BAD_REQUEST_DATA} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()}
TP/NGSI-LD/ContextInformation/Provision/BatchEntities/CreateBatchOfEntities/003_08.robot +1 −1 Original line number Diff line number Diff line Loading @@ -22,6 +22,6 @@ ${building_id_prefix}= urn:ngsi-ld:Building: Check Response Status Code 400 ${response.status_code} Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${response.json()['errors'][0]['error']} ... ${ERROR_TYPE_BAD_REQUEST_DATA} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()}
TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot +1 −1 Original line number Diff line number Diff line Loading @@ -23,6 +23,6 @@ Batch Upsert Entity With Invalid Request Scenarios ${response}= Batch Request Entities From File upsert filename=${filename} Check Response Status Code 400 ${response.status_code} Check RL Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${response.json()['errors'][0]['error']} ... ${problem_type} Check RL Response Body Containing ProblemDetails Element Containing Title Element ${response.json()}