IOP_003_01_01 Query Entities Of Type OffstreetParking Via GET
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking1 and OffStreetParking2 without location and totalSpotsNumber. C contains OffStreetParking2.
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking:1 and OffStreetParking:2 without location and totalSpotsNumber. C contains OffStreetParking:2.
...Registrations established: Inclusive in A to B. Exclusive in A to C.
Check Response Body Containing Entities URIS set to${entity_id}${response.json()}
#Agent checks that OffstreetParking1 in A is the same as the one in B and that OffstreetParking2 in A contains the attributes of both OffstreetParking2 in B and C.
#Agent checks that OffstreetParking:1 in A is the same as the one in B and that OffstreetParking:2 in A contains the attributes of both OffstreetParking:2 in B and C.
Should Be Equal${payload}\[OffstreetParking1]${first_expected_payload}\[OffstreetParking1]
Should Contain${payload}\[OffstreetParking2]${first_expected_payload}\[OffstreetParking2][totalSpotsNumber]
Should Contain${payload}\[OffstreetParking2]${second_expected_payload}\[OffstreetParking2][location]
IOP_003_01_02 Query Entities Of Type OffstreetParking Via POST
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking1 and OffStreetParking2 without location and totalSpotsNumber. C contains OffStreetParking2.
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking:1 and OffStreetParking:2 without location and totalSpotsNumber. C contains OffStreetParking:2.
...Registrations established: Inclusive in A to B. Exclusive in A to C.
Check Response Body Containing Entities URIS set to${entity_id}${response.json()}
#Agent checks that OffstreetParking1 in A is the same as the one in B and that OffstreetParking2 in A contains the attributes of both OffstreetParking2 in B and C.
#Agent checks that OffstreetParking:1 in A is the same as the one in B and that OffstreetParking:2 in A contains the attributes of both OffstreetParking:2 in B and C.
Should Be Equal${payload}\[OffstreetParking1]${first_expected_payload}\[OffstreetParking1]
Should Contain${payload}\[OffstreetParking2]${first_expected_payload}\[OffstreetParking2][totalSpotsNumber]
Should Contain${payload}\[OffstreetParking2]${second_expected_payload}\[OffstreetParking2][location]
IOP_003_02_01 Query Entities Of Type OffstreetParking Via GET
[Documentation]Pre-conditions: no user context. Data on every broker. B contains OffStreetParking1 without location and OffStreetParking2 without location. C contains OffStreetParking1 and OffStreetParking2. D contains OffStreetParking2 with location and name only.
[Documentation]Pre-conditions: no user context. Data on every broker. B contains OffStreetParking:1 without location and OffStreetParking:2 without location. C contains OffStreetParking:1 and OffStreetParking:2. D contains OffStreetParking:2 with location and name only.
...Registrations established: Inclusive in A to B. Redirect in A to C. Redirect in A to D.
@@ -54,7 +54,7 @@ IOP_003_02_01 Query Entities Of Type OffstreetParking Via GET
@{entities_b4}=Set Variable${response.json()}
${b4_payload}=Get From List${entities_b4}0
#Agent checks that OffstreetParking1 in A has the same availableSpotsNumber and totalSpotsNumber as the one in B and the same location attribute found in C. The OffstreetParking2 entity in A contains the attributes of both OffstreetParking2 availableSpotsNumber and totalSpotsNumber in C and the same location found in D.
#Agent checks that OffstreetParking:1 in A has the same availableSpotsNumber and totalSpotsNumber as the one in B and the same location attribute found in C. The OffstreetParking:2 entity in A contains the attributes of both OffstreetParking:2 availableSpotsNumber and totalSpotsNumber in C and the same location found in D.
Should Be Equal${first_payload}[availableSpotsNumber]${first_b2_payload}[availableSpotsNumber]
Should Be Equal${first_payload}[totalSpotsNumber]${first_b2_payload}[totalSpotsNumber]
Should Be Equal${first_payload}[location]${b3_payload}[location]
IOP_003_02_02 Query Entities Of Type OffstreetParking And Vehicle with attrs
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking1 and Vehicle1. C contains OffStreetParking1 with location and name only and OffStreetParking2. D contains OffStreetParking2 with location and name only and Vehicle2.
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking:1 and Vehicle:1. C contains OffStreetParking:1 with location and name only and OffStreetParking:2. D contains OffStreetParking:2 with location and name only and Vehicle:2.
...Registrations established: Inclusive in A to B. Redirect in A to C. Redirect in A to D.
IOP_003_03_01 Query Entities Of Type OffstreetParking Via GET
[Documentation]Pre-conditions: No user context. Data only on leaves. B contains OffStreetParking2 without location. C contains OffStreetParking1. D contains OffStreetParking1 without location.
[Documentation]Pre-conditions: no user context. Data only on leaves. B contains OffStreetParking:2 without location. C contains OffStreetParking:1. D contains OffStreetParking:1 without location.
...Registrations established: Auxiliary in A to B. Inclusive in A to C. Inclusive in A to D.