diff --git a/InCommon.robot b/InCommon.robot index 4ab5576..10fa2b8 100644 --- a/InCommon.robot +++ b/InCommon.robot @@ -1,4 +1,5 @@ *** Settings *** +Library Collections Resource MDQ.robot Variables variables.py @@ -12,3 +13,14 @@ URN-Style Entity ID [Documentation] GET an entity with a URN-style entityID ${resp}= Get Entity baseUrl=${BASE_URL} identifier=${INC_ENTITY_ID_URN} Should Be Equal As Strings ${resp.status_code} 200 + +All IdPs Collection + [Documentation] GET the collection of all IdPs + ${resp}= Get Entity baseUrl=${BASE_URL} identifier=${INC_ALL_IDPS} + Should Be Equal As Strings ${resp.status_code} 200 + +All IdPs Collection (Gzip) + [Documentation] GET the collection of all IdPs with Gzip compression + ${resp}= Get Entity With Gzip baseUrl=${BASE_URL} identifier=${INC_ALL_IDPS} + Should Be Equal As Strings ${resp.status_code} 200 msg=MUST support gzip compression + Dictionary Should Contain Item ${resp.headers} content-encoding gzip msg=MUST support gzip compression diff --git a/variables.py.example b/variables.py.example index 927e15d..0cd303f 100644 --- a/variables.py.example +++ b/variables.py.example @@ -25,3 +25,6 @@ INC_ENTITY_ID_URL_ENCODED = "https:%2F%2Ffm.incommon.org%2Fsp" # InCommon URN-style entityID INC_ENTITY_ID_URN = "urn:mace:incommon:internet2.edu" + +# InCommon collection of all IdPs +INC_ALL_IDPS = "idps/all"