Loading TP/NGSI-LD/ContextInformation/Provision/BatchEntities/MergeBatchOfEntities/057_03.robot +7 −6 Original line number Diff line number Diff line Loading @@ -22,13 +22,14 @@ Batch Merge Entity With Invalid Request Scenarios Check Response Status Code ${expected_status_code} ${response.status_code} IF '${expected_status_code}'=='400' Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} ... response_body=${response.json()} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... response_body=${response.json()} ELSE Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()['errors'][0]['error']} ... ${problem_type} ... response_body=${response.json()['errors'][0]['error']} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... ${response.json()['errors'][0]['error']} ... response_body=${response.json()['errors'][0]['error']} END TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot +7 −6 Original line number Diff line number Diff line Loading @@ -24,13 +24,14 @@ Batch Update Entity With Invalid Request Scenarios Check Response Status Code ${expected_status_code} ${response.status_code} IF '${expected_status_code}'=='400' Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} ... response_body=${response.json()} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... response_body=${response.json()} ELSE Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()['errors'][0]['error']} ... ${problem_type} ... response_body=${response.json()['errors'][0]['error']} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... ${response.json()['errors'][0]['error']} ... response_body=${response.json()['errors'][0]['error']} END TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot +7 −6 Original line number Diff line number Diff line Loading @@ -24,13 +24,14 @@ Batch Upsert Entity With Invalid Request Scenarios Check Response Status Code ${expected_status_code} ${response.status_code} IF '${expected_status_code}'=='400' Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} ... response_body=${response.json()} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... response_body=${response.json()} ELSE Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()['errors'][0]['error']} ... ${problem_type} ... response_body=${response.json()['errors'][0]['error']} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... ${response.json()['errors'][0]['error']} ... response_body=${response.json()['errors'][0]['error']} END doc/analysis/checks.py +2 −2 Original line number Diff line number Diff line Loading @@ -166,8 +166,8 @@ class Checks: 'position': [0, 1] }, 'Check Response Body Containing ProblemDetails Element Containing Type Element set to': { 'params': ['type'], 'position': [1] 'params': ['response_body', 'type'], 'position': [0, 1] }, 'Check Response Body Containing ProblemDetails Element': { 'params': ['problem_type'], Loading Loading
TP/NGSI-LD/ContextInformation/Provision/BatchEntities/MergeBatchOfEntities/057_03.robot +7 −6 Original line number Diff line number Diff line Loading @@ -22,13 +22,14 @@ Batch Merge Entity With Invalid Request Scenarios Check Response Status Code ${expected_status_code} ${response.status_code} IF '${expected_status_code}'=='400' Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} ... response_body=${response.json()} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... response_body=${response.json()} ELSE Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()['errors'][0]['error']} ... ${problem_type} ... response_body=${response.json()['errors'][0]['error']} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... ${response.json()['errors'][0]['error']} ... response_body=${response.json()['errors'][0]['error']} END
TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpdateBatchOfEntities/005_04.robot +7 −6 Original line number Diff line number Diff line Loading @@ -24,13 +24,14 @@ Batch Update Entity With Invalid Request Scenarios Check Response Status Code ${expected_status_code} ${response.status_code} IF '${expected_status_code}'=='400' Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} ... response_body=${response.json()} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... response_body=${response.json()} ELSE Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()['errors'][0]['error']} ... ${problem_type} ... response_body=${response.json()['errors'][0]['error']} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... ${response.json()['errors'][0]['error']} ... response_body=${response.json()['errors'][0]['error']} END
TP/NGSI-LD/ContextInformation/Provision/BatchEntities/UpsertBatchOfEntities/004_06.robot +7 −6 Original line number Diff line number Diff line Loading @@ -24,13 +24,14 @@ Batch Upsert Entity With Invalid Request Scenarios Check Response Status Code ${expected_status_code} ${response.status_code} IF '${expected_status_code}'=='400' Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()} ... ${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ${response.json()} ... response_body=${response.json()} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... response_body=${response.json()} ELSE Check Response Body Containing ProblemDetails Element Containing Type Element set to ... ${response.json()['errors'][0]['error']} ... ${problem_type} ... response_body=${response.json()['errors'][0]['error']} ... type=${problem_type} Check Response Body Containing ProblemDetails Element Containing Title Element ... ${response.json()['errors'][0]['error']} ... response_body=${response.json()['errors'][0]['error']} END
doc/analysis/checks.py +2 −2 Original line number Diff line number Diff line Loading @@ -166,8 +166,8 @@ class Checks: 'position': [0, 1] }, 'Check Response Body Containing ProblemDetails Element Containing Type Element set to': { 'params': ['type'], 'position': [1] 'params': ['response_body', 'type'], 'position': [0, 1] }, 'Check Response Body Containing ProblemDetails Element': { 'params': ['problem_type'], Loading