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 (Passthrough) 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 disabled 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 other errors than RegistryError (Severity:Error), check server.log for exception(s).
AttributesTestSuite
Attribute Check Off - Multiple Missing DQ
This test case no longer works 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