Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
CIM - Context Information Management
NGSI-LD Test Suite
Compare revisions
952f985aaceabb0d4f608b389610ed1161b26295...c3c89b7b8d6db7d6bc32ebff33b363810e0ced36
Commits (2)
fixed 043_05
· 8a86b65e
lopesg
authored
Apr 01, 2021
8a86b65e
Merge branch 'fix/043-05-missing-id-variable' into 'develop'
· c3c89b7b
Patricia dos Santos Oliveira
authored
Apr 01, 2021
fixed 043_05 missing id variable See merge request
!64
c3c89b7b
Hide whitespace changes
Inline
Side-by-side
TP/NGSI-LD/CommonBehaviours/043.robot
View file @
c3c89b7b
...
...
@@ -77,12 +77,12 @@ ${registration_filename}= csourceRegistrations/context-source-registration-unre
[
Documentation
]
Verify throwing 503 – LDContextNotAvaliable error if remote JSON-LD @context cannot be retrieved (Create context source registration)
[
Tags
]
csr-create
5_2_2
${registration_id
_prefix
}
=
Generate Random Entity Id
${registration_id_prefix}
${registration_id}
=
Generate Random Entity Id
${registration_id_prefix}
${payload}
=
Load Json From File
${EXECDIR}
/data/
${registration_filename}
${updated_payload}
=
Update Value To Json
${payload}
$..id
${registration_id
_prefix
}
${updated_payload}
=
Update Value To Json
${payload}
$..id
${registration_id}
${request}
${response}
=
Create Context Source Registration With Return
${updated_payload}
Check Response Status Code
${expected_status_code}
${response['status']}
Check Response Headers Containing URI set to
${request['path']}
/
${registration_id}
${response}
[
Teardown
]
Delete Context Source Registration
${registration_id_prefix}
\ No newline at end of file
[
Teardown
]
Delete Context Source Registration
${registration_id}
\ No newline at end of file