Loading TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_02.robot +2 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,8 @@ Create Temporal Entity From File [Documentation] Check that you cannot create a temporal entity with an empty/invalid json/id [Tags] mandatory ${response}= Create Temporal Representation Of Entity Selecting Content Type Using Session ${filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code <Response [400]> ${response['status']} Create Temporal Representation Of Entity Selecting Content Type Using Session ${filename} ${CONTENT_TYPE_LD_JSON} Check RL Response Status Code Set To 400 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 +3 −3 Original line number Diff line number Diff line Loading @@ -321,9 +321,9 @@ Create Temporal Representation Of Entity Selecting Content Type Using Session ${file_content}= Get File ${EXECDIR}/data/temporalEntities/${filename} Create Session OneRequest ${url} &{headers}= Create Dictionary Content-Type=${content_type} ${response}= POST On Session OneRequest ${TEMPORAL_ENTITIES_ENDPOINT_PATH} data=${file_content} headers=${headers} Output request Output response ${response}= POST On Session OneRequest ${TEMPORAL_ENTITIES_ENDPOINT_PATH} data=${file_content} headers=${headers} expected_status=any Output ${response.json()} Set Test Variable ${response} [return] ${response} Append Attribute To Temporal Entity Loading Loading
TP/NGSI-LD/ContextInformation/Provision/TemporalEntity/CreateTemporalRepresentationOfEntity/007_02.robot +2 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,8 @@ Create Temporal Entity From File [Documentation] Check that you cannot create a temporal entity with an empty/invalid json/id [Tags] mandatory ${response}= Create Temporal Representation Of Entity Selecting Content Type Using Session ${filename} ${CONTENT_TYPE_LD_JSON} Check Response Status Code <Response [400]> ${response['status']} Create Temporal Representation Of Entity Selecting Content Type Using Session ${filename} ${CONTENT_TYPE_LD_JSON} Check RL Response Status Code Set To 400 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 +3 −3 Original line number Diff line number Diff line Loading @@ -321,9 +321,9 @@ Create Temporal Representation Of Entity Selecting Content Type Using Session ${file_content}= Get File ${EXECDIR}/data/temporalEntities/${filename} Create Session OneRequest ${url} &{headers}= Create Dictionary Content-Type=${content_type} ${response}= POST On Session OneRequest ${TEMPORAL_ENTITIES_ENDPOINT_PATH} data=${file_content} headers=${headers} Output request Output response ${response}= POST On Session OneRequest ${TEMPORAL_ENTITIES_ENDPOINT_PATH} data=${file_content} headers=${headers} expected_status=any Output ${response.json()} Set Test Variable ${response} [return] ${response} Append Attribute To Temporal Entity Loading