Changes for TP/NGSI-LD/ContextSource/Registration/QueryContextSourceRegistrations/037_10.robot: 52 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
*** Settings ***
DocumentationCheck that you can query context source registrations. If present, the conditions specified by the context source query match the respective Context Source Properties
*** Test Cases *** QUERY_PARAM_NAME QUERY_PARAM_VALUE EXPECTATION_FILE_PATH EXPECTED_CONTEXT_SOURCE_REGISTRATION_IDS
With list of Entity Idsid${first_context_source_registration_id},${third_context_source_registration_id}csourceRegistrations/expectations/context-source-registrations-037-10-01-expectation.json${first_context_source_registration_id}${third_context_source_registration_id}
With NGSI-LD Queryqlocation.type=="GeoProperty"csourceRegistrations/expectations/context-source-registrations-037-10-02-expectation.json${third_context_source_registration_id}
With Context Source Filtercsfendpoint=="http://my.csource.org:1026"csourceRegistrations/expectations/context-source-registrations-037-10-03-expectation.json${first_context_source_registration_id}${second_context_source_registration_id}${third_context_source_registration_id}
*** Keywords ***
Query Context Source Registration With Query Params
[Documentation]Check that you can query context source registrations. If present, the conditions specified by the context source query match the respective Context Source Properties
Check Response Body Containing List Containing Context Source Registrations elements${expectation_file_path}${expected_context_source_registration_ids}
Setup Initial Context Source Registrations
${first_context_source_registration_id}=Generate Random Entity Id${context_source_registration_id_prefix}
${second_context_source_registration_id}=Generate Random Entity Id${context_source_registration_id_prefix}
${third_context_source_registration_id}=Generate Random Entity Id${context_source_registration_id_prefix}
${first_context_source_registration_payload}=Load Test Sample${first_context_source_registration_payload_file_path}${first_context_source_registration_id}
${second_context_source_registration_payload}=Load Test Sample${second_context_source_registration_payload_file_path}${second_context_source_registration_id}
${third_context_source_registration_payload}=Load Test Sample${third_context_source_registration_payload_file_path}${third_context_source_registration_id}