- ${resp}= InitCar ${CURRENT_CAR_LEADER} ${PORT}
- ${resp}= AddCar ${CURRENT_CAR_LEADER} ${PORT} ${100}
- ${resp}= Getcars ${CURRENT_CAR_LEADER} ${PORT} ${0}
- Should Be Equal As Strings ${resp.status_code} 200
- Should Contain ${resp.content} manufacturer1 cars not added!
-
-Add persons and get persons from Leader
- [Documentation] Add 100 persons and get persons Note: There should be one person added first to enable rpc
- ${resp} AddPerson ${CURRENT_CAR_LEADER} ${PORT} ${0}
- ${resp} AddPerson ${CURRENT_CAR_LEADER} ${PORT} ${100}
- ${resp} GetPersons ${CURRENT_CAR_LEADER} ${PORT} ${0}
- Should Be Equal As Strings ${resp.status_code} 200
- Should Contain ${resp.content} user5 people not added!
-
-Add car-person mapping and get car-person mapping from Follower1
- [Documentation] Add car-person and get car-person from Leader Note: This is done to enable working of rpc
- Log @{CAR_FOLLOWERS}[0]
- ${resp} AddCarPerson @{CAR_FOLLOWERS}[0] ${PORT} ${0}
- Should Be Equal As Strings ${resp.status_code} 204
- ${resp} GetCarPersonMappings @{CAR_FOLLOWERS}[0] ${PORT} ${0}
- Should Be Equal As Strings ${resp.status_code} 200
- Should Contain ${resp.content} user0 car-person not initialized!
+ Add Cars And Verify ${CURRENT_CAR_LEADER} ${NUM_ENTRIES}
+
+Add Persons And Get Persons From Car Leader
+ [Documentation] Add 100 persons and get persons from Leader
+ Add People And Verify ${CURRENT_CAR_LEADER} ${NUM_ENTRIES}
+
+Add Car-Person Mapping And Get Car-Person Mapping From Car Follower1
+ [Documentation] Add car-person and get car-person from Leader
+ Add Car Person And Verify @{CAR_FOLLOWERS}[0]