Loading TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_02.robot +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ Append entity attributes with invalid entity fragments Check Response Status Code 201 ${response['status']} Append Entity Attributes Using Session ${entity_id} ${invalid_fragment_filename} ${CONTENT_TYPE_LD_JSON} ${EMPTY} Check Response Status Code 400 ${response['status']} Check RL Response Status Code Set To ${status_code} 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()} Loading resources/ApiUtils.resource +1 −1 Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ Append Entity Attributes Using Session Create Session OneRequest ${url} &{headers}= Create Dictionary Content-Type=${content_type} ${response}= POST On Session OneRequest ${ENTITIES_ENDPOINT_PATH}${id}/attrs/ params=options=${options} data=${file_content} headers=${headers} expected_status=any [return] ${response} Set Test Variable ${response} Update Entity Attributes Using Session [Arguments] ${id} ${fragment_filename} ${content_type} ${options} Loading Loading
TP/NGSI-LD/ContextInformation/Provision/EntityAttributes/AppendEntityAttributes/010_02.robot +1 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ Append entity attributes with invalid entity fragments Check Response Status Code 201 ${response['status']} Append Entity Attributes Using Session ${entity_id} ${invalid_fragment_filename} ${CONTENT_TYPE_LD_JSON} ${EMPTY} Check Response Status Code 400 ${response['status']} Check RL Response Status Code Set To ${status_code} 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()} Loading
resources/ApiUtils.resource +1 −1 Original line number Diff line number Diff line Loading @@ -156,7 +156,7 @@ Append Entity Attributes Using Session Create Session OneRequest ${url} &{headers}= Create Dictionary Content-Type=${content_type} ${response}= POST On Session OneRequest ${ENTITIES_ENDPOINT_PATH}${id}/attrs/ params=options=${options} data=${file_content} headers=${headers} expected_status=any [return] ${response} Set Test Variable ${response} Update Entity Attributes Using Session [Arguments] ${id} ${fragment_filename} ${content_type} ${options} Loading