SAML Attribute (Required) elements are no longer optional and cannot be turn off and on by (validateSAMLAttributes).
for TestCase (Attribute Check Off - Multiple Missing DQ), this can be ignored the DQ Request is the same as (Attribute Check On - Happy DQ).
Overview
To verify the SAML Attribute Required (purposeOfDisclosureCoded, roleCoded, homeCommunity) elements; sending Document Query Request with missing SAML Attribute (required) element and verify RegistryError.
Test Detail
The services (Passthrought) are running with JMX call script to set the CONNECT application to Passthrough without application restart; TestCase (Attribute Check Off - Multiple Missing DQ) can be disable since SAMLAttributes (purposeOfDisclosureCoded, roleCoded, homeCommunity) are no longer optional.
Update CONNECT Property (validateSAMLAttributes) to skip SAMLAttributes (validation)
Send DQ Request (with Missing SAML Attribues) and verify expected response.
For more detail than RegistryError (Severity:Error), check server.log for exception.
AttributesTestSuite
Attribute Check Off - Multiple Missing DQ
This TestCase no longer work as intended; same scenario as (Attribute Check On - Happy DQ)
update config
Document Query (with all SAMLAttributes)
Assert (DocumentID)
Expect status (Success)
Attribute Check On - Happy DQ
update config
Document Query (with all SAMLAttributes)
Assert (DocumentID)
Expect status (Success)
Attribute Check On - Purposeof Missing DQ
update config
Document Query (with missing purposeOfDisclosureCoded)
Assert RegistryError
Attribute Check On - Role Missing DQ
update config
Document Query (with missing roleCoded)
Assert RegistryError
Attribute Check On -HCID Missing DQ
update config
Document Query (with missing homeCommunity)
Assert RegistryError