Commit 35feb980 authored by Marco Cavalli's avatar Marco Cavalli Committed by Benedetta Arena
Browse files

Changes in IOP tests from the test event

parent e1f198dc
Loading
Loading
Loading
Loading
+33 −11
Original line number Diff line number Diff line
@@ -4,8 +4,9 @@ Documentation Three brokers are set up b1, b2 and b3. b1 has two registrat

Resource            ${EXECDIR}/resources/IOPUtils/InteroperabilityUtils.resource

Test Setup          Setup Initial Context Source Registrations
Test Teardown       Delete Entities and Delete Registrations
Test Template       Run Interoperability Scenario



*** Variables ***
@@ -20,7 +21,21 @@ ${b3_url} ${EMPTY}


*** Test Cases ***
IOP_003_01_01 Query Entities Of Type OffstreetParking Via GET
IOP_003_01_01_01 Query Entities Of Type OffstreetParking Via GET With Default Context
    [Tags]
    ...    since_v1.6.1
    ...    iop
    ...    cnf_01
    ...    4_3_3
    ...    additive-inclusive
    ...    proxy-exclusive
    ...    4_3_6
    ...    5_7_2
    ...    6_4_3_1
    ...    default-context
    [Setup]    Setup Initial Context Source Registrations    ${core_context}
    ${core_context}
IOP_003_01_01_02 Query Entities Of Type OffstreetParking Via GET With User Context
    [Tags]
    ...    since_v1.6.1
    ...    iop
@@ -31,12 +46,20 @@ IOP_003_01_01 Query Entities Of Type OffstreetParking Via GET
    ...    4_3_6
    ...    5_7_2
    ...    6_4_3_1
    ...    user-context
    [Setup]    Setup Initial Context Source Registrations    ${ngsild_test_suite_context}
    ${ngsild_test_suite_context}


*** Keywords ***
Run Interoperability Scenario
    [Arguments]    ${context}

    # Client sends an HTTP GET request to b1 to retrieve all Entities with type OffstreetParking
    ${response_b1}=    Query Entities
    ...    entity_types=OffStreetParking
    ...    broker_url=${b1_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}

    # Agent checks that a success response has been returned and that the following Entities were returned:
    # - OffstreetParking:1 with the attributes availableSpotsNumber and totalSpotsNumber
@@ -51,7 +74,7 @@ IOP_003_01_01 Query Entities Of Type OffstreetParking Via GET
    ${response_b2}=    Query Entities
    ...    entity_types=OffStreetParking
    ...    broker_url=${b2_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b2.status_code}
    ${expected_b2_ids}=    Create List    ${first_entity_id}    ${second_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b2_ids}    ${response_b2.json()}
@@ -62,7 +85,7 @@ IOP_003_01_01 Query Entities Of Type OffstreetParking Via GET
    ${response_b3}=    Query Entities
    ...    entity_types=OffStreetParking
    ...    broker_url=${b3_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b3.status_code}
    ${expected_b3_ids}=    Create List    ${second_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b3_ids}    ${response_b3.json()}
@@ -70,13 +93,10 @@ IOP_003_01_01 Query Entities Of Type OffstreetParking Via GET

    # Agent checks that b2 returns OffstreetParking:1 and OffstreetParking:2 and b3 returns OffstreetParking:2
    ${expected_first_b2}=    Load Entity    ${first_entity_payload_filename}    ${first_entity_id}
    Remove From Dictionary    ${expected_first_b2}    @context
    Check Resource Set To    ${expected_first_b2}    ${first_entity_b2}[0]
    ${expected_second_b2}=    Load Entity    ${third_entity_payload_filename}    ${second_entity_id}
    Remove From Dictionary    ${expected_second_b2}    @context
    Check Resource Set To    ${expected_second_b2}    ${second_entity_b2}[0]
    ${expected_second_b3}=    Load Entity    ${second_entity_payload_filename}    ${second_entity_id}
    Remove From Dictionary    ${expected_second_b3}    @context
    Check Resource Set To    ${expected_second_b3}    ${second_entity_b3}[0]

    # Agent checks that OffstreetParking:1 returned in step (2) matches b2 and OffstreetParking:2 combines b2 and b3
@@ -96,9 +116,8 @@ IOP_003_01_01 Query Entities Of Type OffstreetParking Via GET
    ...    location=${second_entity_b3}[0][location]
    Check Resource Set To    ${expected_second_b1}    ${second_entity_b1}[0]


*** Keywords ***
Setup Initial Context Source Registrations
    [Arguments]    ${context}
    Set Test Variable    ${first_entity_id}    urn:ngsi-ld:OffStreetParking:1
    Set Test Variable    ${second_entity_id}    urn:ngsi-ld:OffStreetParking:2

@@ -106,18 +125,21 @@ Setup Initial Context Source Registrations
    ...    ${first_entity_payload_filename}
    ...    ${first_entity_id}
    ...    broker_url=${b2_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}

    ${response}=    Create Entity
    ...    ${third_entity_payload_filename}
    ...    ${second_entity_id}
    ...    broker_url=${b2_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}

    ${response}=    Create Entity
    ...    ${second_entity_payload_filename}
    ...    ${second_entity_id}
    ...    broker_url=${b3_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}

    @{first_set}=    Create List
@@ -135,7 +157,7 @@ Setup Initial Context Source Registrations
    ...    ${b1_url}

    @{first_configuration}=    Create List    ${first_set}    ${second_set}
    Compose IOP Configuration    ${first_configuration}
    Compose IOP Configuration    ${first_configuration}    ld_context=${context}

Delete Entities And Delete Registrations
    @{broker_count}=    Create List    ${b1_url}    ${b2_url}    ${b3_url}
+33 −11
Original line number Diff line number Diff line
@@ -4,8 +4,9 @@ Documentation Three brokers are set up b1, b2 and b3. b1 has two registrat

Resource            ${EXECDIR}/resources/IOPUtils/InteroperabilityUtils.resource

Test Setup          Setup Initial Context Source Registrations
Test Teardown       Delete Entities and Delete Registrations
Test Template       Run Interoperability Scenario



*** Variables ***
@@ -20,7 +21,21 @@ ${b3_url} ${EMPTY}


*** Test Cases ***
IOP_003_01_02 Query Entities Of Type OffstreetParking Via POST
IOP_003_01_02_01 Query Entities Of Type OffstreetParking Via POST With Default Context
    [Tags]
    ...    since_v1.6.1
    ...    iop
    ...    cnf_01
    ...    4_3_3
    ...    additive-inclusive
    ...    proxy-exclusive
    ...    4_3_6
    ...    5_7_2
    ...    6_23_2_1
    ...    default-context
    [Setup]    Setup Initial Context Source Registrations    ${core_context}
    ${core_context}
IOP_003_01_02_02 Query Entities Of Type OffstreetParking Via POST With User Context
    [Tags]
    ...    since_v1.6.1
    ...    iop
@@ -31,6 +46,14 @@ IOP_003_01_02 Query Entities Of Type OffstreetParking Via POST
    ...    4_3_6
    ...    5_7_2
    ...    6_23_2_1
    ...    user-context
    [Setup]    Setup Initial Context Source Registrations    ${ngsild_test_suite_context}
    ${ngsild_test_suite_context}


*** Keywords ***
Run Interoperability Scenario
    [Arguments]    ${context}

    # Client sends an HTTP POST request to b1 to retrieve all Entities with type OffstreetParking
    &{entity_selector}=    Create Dictionary    type=OffStreetParking
@@ -38,7 +61,7 @@ IOP_003_01_02 Query Entities Of Type OffstreetParking Via POST
    ${response_b1}=    Query Entities Via POST
    ...    entities=${entities}
    ...    broker_url=${b1_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}

    # Agent checks that a success response has been returned and that the following Entities were returned:
    # - OffstreetParking:1 with the attributes availableSpotsNumber and totalSpotsNumber
@@ -53,7 +76,7 @@ IOP_003_01_02 Query Entities Of Type OffstreetParking Via POST
    ${response_b2}=    Query Entities Via POST
    ...    entities=${entities}
    ...    broker_url=${b2_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b2.status_code}
    ${expected_b2_ids}=    Create List    ${first_entity_id}    ${second_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b2_ids}    ${response_b2.json()}
@@ -64,7 +87,7 @@ IOP_003_01_02 Query Entities Of Type OffstreetParking Via POST
    ${response_b3}=    Query Entities Via POST
    ...    entities=${entities}
    ...    broker_url=${b3_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b3.status_code}
    ${expected_b3_ids}=    Create List    ${second_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b3_ids}    ${response_b3.json()}
@@ -72,13 +95,10 @@ IOP_003_01_02 Query Entities Of Type OffstreetParking Via POST

    # Agent checks that b2 returns OffstreetParking:1 and OffstreetParking:2 and b3 returns OffstreetParking:2
    ${expected_first_b2}=    Load Entity    ${first_entity_payload_filename}    ${first_entity_id}
    Remove From Dictionary    ${expected_first_b2}    @context
    Check Resource Set To    ${expected_first_b2}    ${first_entity_b2}[0]
    ${expected_second_b2}=    Load Entity    ${third_entity_payload_filename}    ${second_entity_id}
    Remove From Dictionary    ${expected_second_b2}    @context
    Check Resource Set To    ${expected_second_b2}    ${second_entity_b2}[0]
    ${expected_second_b3}=    Load Entity    ${second_entity_payload_filename}    ${second_entity_id}
    Remove From Dictionary    ${expected_second_b3}    @context
    Check Resource Set To    ${expected_second_b3}    ${second_entity_b3}[0]

    # Agent checks that OffstreetParking:1 returned in step (2) matches b2 and OffstreetParking:2 combines b2 and b3
@@ -98,9 +118,8 @@ IOP_003_01_02 Query Entities Of Type OffstreetParking Via POST
    ...    location=${second_entity_b3}[0][location]
    Check Resource Set To    ${expected_second_b1}    ${second_entity_b1}[0]


*** Keywords ***
Setup Initial Context Source Registrations
    [Arguments]    ${context}
    Set Test Variable    ${first_entity_id}    urn:ngsi-ld:OffStreetParking:1
    Set Test Variable    ${second_entity_id}    urn:ngsi-ld:OffStreetParking:2

@@ -108,18 +127,21 @@ Setup Initial Context Source Registrations
    ...    ${first_entity_payload_filename}
    ...    ${first_entity_id}
    ...    broker_url=${b2_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}

    ${response}=    Create Entity
    ...    ${third_entity_payload_filename}
    ...    ${second_entity_id}
    ...    broker_url=${b2_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}

    ${response}=    Create Entity
    ...    ${second_entity_payload_filename}
    ...    ${second_entity_id}
    ...    broker_url=${b3_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}

    @{first_set}=    Create List
@@ -137,7 +159,7 @@ Setup Initial Context Source Registrations
    ...    ${b1_url}

    @{first_configuration}=    Create List    ${first_set}    ${second_set}
    Compose IOP Configuration    ${first_configuration}
    Compose IOP Configuration    ${first_configuration}    ld_context=${context}

Delete Entities And Delete Registrations
    @{broker_count}=    Create List    ${b1_url}    ${b2_url}    ${b3_url}
+36 −14
Original line number Diff line number Diff line
@@ -4,8 +4,9 @@ Documentation Four brokers are set up b1, b2, b3 and b4. b1 has three regi

Resource            ${EXECDIR}/resources/IOPUtils/InteroperabilityUtils.resource

Test Setup          Setup Initial Context Source Registrations
Test Teardown       Delete Entities and Delete Registrations
Test Template       Run Interoperability Scenario



*** Variables ***
@@ -24,7 +25,21 @@ ${b4_url} ${EMPTY}


*** Test Cases ***
IOP_003_02_01 Query Entities Of Type OffstreetParking Via GET
IOP_003_02_01_01 Query Entities Of Type OffstreetParking Via GET With Default Context
    [Tags]
    ...    since_v1.6.1
    ...    iop
    ...    cnf_02
    ...    4_3_3
    ...    additive-inclusive
    ...    proxy-redirect
    ...    4_3_6
    ...    5_7_2
    ...    6_4_3_1
    ...    default-context
    [Setup]    Setup Initial Context Source Registrations    ${core_context}
    ${core_context}
IOP_003_02_01_02 Query Entities Of Type OffstreetParking Via GET With User Context
    [Tags]
    ...    since_v1.6.1
    ...    iop
@@ -35,12 +50,20 @@ IOP_003_02_01 Query Entities Of Type OffstreetParking Via GET
    ...    4_3_6
    ...    5_7_2
    ...    6_4_3_1
    ...    user-context
    [Setup]    Setup Initial Context Source Registrations    ${ngsild_test_suite_context}
    ${ngsild_test_suite_context}


*** Keywords ***
Run Interoperability Scenario
    [Arguments]    ${context}

    # Client sends an HTTP GET request to b1 to retrieve Entities with type OffstreetParking
    ${response_b1}=    Query Entities
    ...    entity_types=OffStreetParking
    ...    broker_url=${b1_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}

    # Agent checks that a success response has been returned and that OffstreetParking:1 and OffstreetParking:2 were returned with all properties but "name"
    Check Response Status Code    200    ${response_b1.status_code}
@@ -53,7 +76,7 @@ IOP_003_02_01 Query Entities Of Type OffstreetParking Via GET
    ${response_b2}=    Query Entities
    ...    entity_types=OffStreetParking
    ...    broker_url=${b2_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b2.status_code}
    ${expected_b2_ids}=    Create List    ${first_entity_id}    ${second_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b2_ids}    ${response_b2.json()}
@@ -64,7 +87,7 @@ IOP_003_02_01 Query Entities Of Type OffstreetParking Via GET
    ${response_b3}=    Query Entities
    ...    entity_types=OffStreetParking
    ...    broker_url=${b3_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b3.status_code}
    ${expected_b3_ids}=    Create List    ${first_entity_id}    ${second_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b3_ids}    ${response_b3.json()}
@@ -75,26 +98,21 @@ IOP_003_02_01 Query Entities Of Type OffstreetParking Via GET
    ${response_b4}=    Query Entities
    ...    entity_types=OffStreetParking
    ...    broker_url=${b4_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b4.status_code}
    ${expected_b4_ids}=    Create List    ${second_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b4_ids}    ${response_b4.json()}
    ${second_entity_b4}=    Get Value From JSON    ${response_b4.json()}    $[?(@.id=='${second_entity_id}')]

    ${expected_first_b2}=    Load Entity    ${first_entity_no_location_payload_filename}    ${first_entity_id}
    Remove From Dictionary    ${expected_first_b2}    @context
    Check Resource Set To    ${expected_first_b2}    ${first_entity_b2}[0]
    ${expected_second_b2}=    Load Entity    ${second_entity_no_location_payload_filename}    ${second_entity_id}
    Remove From Dictionary    ${expected_second_b2}    @context
    Check Resource Set To    ${expected_second_b2}    ${second_entity_b2}[0]
    ${expected_first_b3}=    Load Entity    ${first_full_entity_payload_filename}    ${first_entity_id}
    Remove From Dictionary    ${expected_first_b3}    @context
    Check Resource Set To    ${expected_first_b3}    ${first_entity_b3}[0]
    ${expected_second_b3}=    Load Entity    ${second_full_entity_payload_filename}    ${second_entity_id}
    Remove From Dictionary    ${expected_second_b3}    @context
    Check Resource Set To    ${expected_second_b3}    ${second_entity_b3}[0]
    ${expected_second_b4}=    Load Entity    ${location_name_payload_filename}    ${second_entity_id}
    Remove From Dictionary    ${expected_second_b4}    @context
    Check Resource Set To    ${expected_second_b4}    ${second_entity_b4}[0]

    # Agent checks the broker-b1 Entities against the attributes returned by b2, b3 and b4
@@ -116,9 +134,8 @@ IOP_003_02_01 Query Entities Of Type OffstreetParking Via GET
    ...    location=${second_entity_b4}[0][location]
    Check Resource Set To    ${expected_second_b1}    ${second_entity_b1}[0]


*** Keywords ***
Setup Initial Context Source Registrations
    [Arguments]    ${context}
    Set Test Variable    ${first_entity_id}    urn:ngsi-ld:OffStreetParking:1
    Set Test Variable    ${second_entity_id}    urn:ngsi-ld:OffStreetParking:2

@@ -126,26 +143,31 @@ Setup Initial Context Source Registrations
    ...    ${first_entity_no_location_payload_filename}
    ...    ${first_entity_id}
    ...    broker_url=${b2_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${second_entity_no_location_payload_filename}
    ...    ${second_entity_id}
    ...    broker_url=${b2_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${first_full_entity_payload_filename}
    ...    ${first_entity_id}
    ...    broker_url=${b3_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${second_full_entity_payload_filename}
    ...    ${second_entity_id}
    ...    broker_url=${b3_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${location_name_payload_filename}
    ...    ${second_entity_id}
    ...    broker_url=${b4_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}

    @{first_set}=    Create List
@@ -170,7 +192,7 @@ Setup Initial Context Source Registrations
    ...    ${b1_url}

    @{second_configuration}=    Create List    ${first_set}    ${second_set}    ${third_set}
    Compose IOP Configuration    ${second_configuration}
    Compose IOP Configuration    ${second_configuration}    ld_context=${context}

Delete Entities And Delete Registrations
    @{broker_count}=    Create List    ${b1_url}    ${b2_url}    ${b3_url}    ${b4_url}
+37 −9
Original line number Diff line number Diff line
@@ -4,8 +4,9 @@ Documentation Four brokers are set up b1, b2, b3 and b4. b1 has five regis

Resource            ${EXECDIR}/resources/IOPUtils/InteroperabilityUtils.resource

Test Setup          Setup Initial Context Source Registrations
Test Teardown       Delete Entities and Delete Registrations
Test Template       Run Interoperability Scenario



*** Variables ***
@@ -27,7 +28,21 @@ ${b4_url} ${EMPTY}


*** Test Cases ***
IOP_003_02_02 Query Entities Of Type OffstreetParking And Vehicle With Attrs
IOP_003_02_02_01 Query Entities Of Type OffstreetParking And Vehicle With Attrs With Default Context
    [Tags]
    ...    since_v1.6.1
    ...    iop
    ...    cnf_02
    ...    4_3_3
    ...    additive-inclusive
    ...    proxy-redirect
    ...    4_3_6
    ...    5_7_2
    ...    6_4_3_1
    ...    default-context
    [Setup]    Setup Initial Context Source Registrations    ${core_context}
    ${core_context}
IOP_003_02_02_02 Query Entities Of Type OffstreetParking And Vehicle With Attrs With User Context
    [Tags]
    ...    since_v1.6.1
    ...    iop
@@ -38,13 +53,21 @@ IOP_003_02_02 Query Entities Of Type OffstreetParking And Vehicle With Attrs
    ...    4_3_6
    ...    5_7_2
    ...    6_4_3_1
    ...    user-context
    [Setup]    Setup Initial Context Source Registrations    ${ngsild_test_suite_context}
    ${ngsild_test_suite_context}


*** Keywords ***
Run Interoperability Scenario
    [Arguments]    ${context}

    # Client sends an HTTP GET request to b1 to retrieve the "location" Property from Entities having type OffstreetParking or Vehicle
    ${response_b1}=    Query Entities
    ...    entity_types=OffStreetParking,Vehicle
    ...    attrs=location
    ...    broker_url=${b1_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}

    # Agent checks that a success response has been returned and that all four Entities were returned with the "location" Property only
    Check Response Status Code    200    ${response_b1.status_code}
@@ -64,7 +87,7 @@ IOP_003_02_02 Query Entities Of Type OffstreetParking And Vehicle With Attrs
    ...    entity_types=OffStreetParking,Vehicle
    ...    attrs=location
    ...    broker_url=${b2_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b2.status_code}
    ${expected_b2_ids}=    Create List    ${first_parking_entity_id}    ${first_vehicle_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b2_ids}    ${response_b2.json()}
@@ -76,7 +99,7 @@ IOP_003_02_02 Query Entities Of Type OffstreetParking And Vehicle With Attrs
    ...    entity_types=OffStreetParking,Vehicle
    ...    attrs=location
    ...    broker_url=${b3_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b3.status_code}
    ${expected_b3_ids}=    Create List    ${first_parking_entity_id}    ${second_parking_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b3_ids}    ${response_b3.json()}
@@ -88,7 +111,7 @@ IOP_003_02_02 Query Entities Of Type OffstreetParking And Vehicle With Attrs
    ...    entity_types=OffStreetParking,Vehicle
    ...    attrs=location
    ...    broker_url=${b4_url}
    ...    context=${ngsild_test_suite_context}
    ...    context=${context}
    Check Response Status Code    200    ${response_b4.status_code}
    ${expected_b4_ids}=    Create List    ${second_parking_entity_id}    ${second_vehicle_entity_id}
    Check Response Body Containing Entities URIS set to    ${expected_b4_ids}    ${response_b4.json()}
@@ -120,9 +143,8 @@ IOP_003_02_02 Query Entities Of Type OffstreetParking And Vehicle With Attrs
    Check Resource Set To    ${first_vehicle_b2}[0]    ${first_vehicle_b1}[0]
    Check Resource Set To    ${second_vehicle_b4}[0]    ${second_vehicle_b1}[0]


*** Keywords ***
Setup Initial Context Source Registrations
    [Arguments]    ${context}
    Set Test Variable    ${first_parking_entity_id}    urn:ngsi-ld:OffStreetParking:1
    Set Test Variable    ${second_parking_entity_id}    urn:ngsi-ld:OffStreetParking:2
    Set Test Variable    ${first_vehicle_entity_id}    urn:ngsi-ld:Vehicle:1
@@ -132,31 +154,37 @@ Setup Initial Context Source Registrations
    ...    ${first_vehicle_payload_filename}
    ...    ${first_vehicle_entity_id}
    ...    broker_url=${b2_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${first_offstreet_payload_filename}
    ...    ${first_parking_entity_id}
    ...    broker_url=${b2_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${first_parking_location_name_payload_filename}
    ...    ${first_parking_entity_id}
    ...    broker_url=${b3_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${second_offstreet_payload_filename}
    ...    ${second_parking_entity_id}
    ...    broker_url=${b3_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${second_parking_location_name_payload_filename}
    ...    ${second_parking_entity_id}
    ...    broker_url=${b4_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}
    ${response}=    Create Entity
    ...    ${second_vehicle_payload_filename}
    ...    ${second_vehicle_entity_id}
    ...    broker_url=${b4_url}
    ...    context=${context}
    Check Response Status Code    201    ${response.status_code}

    @{first_set}=    Create List
@@ -200,7 +228,7 @@ Setup Initial Context Source Registrations
    ...    ${third_set}
    ...    ${fourth_set}
    ...    ${fifth_set}
    Compose IOP Configuration    ${second_configuration}
    Compose IOP Configuration    ${second_configuration}    ld_context=${context}

Delete Entities And Delete Registrations
    @{broker_count}=    Create List    ${b1_url}    ${b2_url}    ${b3_url}    ${b4_url}
+34 −13

File changed.

Preview size limit exceeded, changes collapsed.

Loading