[Documentation]Check that the Snapshot is accepted (202) and that the Location header gives the relative path of the Snapshot, with an id generated by the broker
Check Response Status Code202${response.status_code}
Should Contain${response.headers['Location']}${SNAPSHOTS_ENDPOINT_PATH}/
${snapshot_id}=Fetch From Right${response.headers['Location']}/
Set Test Variable${snapshot_id}
069_01_02 Create A Snapshot With An Id
[Documentation]Check that the Snapshot is accepted (202) and that the Location header gives the relative path of the Snapshot, with the id given in the request
Changes for TP/NGSI-LD/Snapshots/CreateSnapshot/069_02.robot: 60 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
*** Settings ***
DocumentationCheck that one cannot create a Snapshot that does not meet the Snapshot data type (400), or whose id is that of an existing Snapshot (409)
Changes for TP/NGSI-LD/Snapshots/RetrieveSnapshotStatus/070_01.robot: 44 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
*** Settings ***
DocumentationCheck that one can retrieve the status of a Snapshot: the Snapshot, the default priority, and the status "success" once its query has given a result
[Documentation]Check that the Snapshot has the id it was created with, the priority 5 (the default, TS 104 175 clause 16.2.4), an expiration date, and the status "success": its only query selects an existing Entity