Note |
---|
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). |
Table of Contents |
---|
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.
Info |
---|
For other errors than RegistryError (Severity:Error), check server.log for exception(s). |
...
Overview
The Test Suite is used to verify optional validation of SAML attributes elements with Document Query request. The JMX script is to ensure that gateway is operated passthrough without the need for server restart.
Info |
---|
The test cases no longer work as intended when the SAML attributes changed from optional validation based on configuration to always required validation. |
Test Cases Detail for passthrough
The test cases is designed to be able to turn off and on the SAML attributes element validations, however required SAML Attribute elements are validated regardless of configuration.
Attribute Check Off - Multiple Missing DQ
...
: used to checked successful response with attribute check turn off and attribute missing; now required attribute is checked regardless of configuration and no longer missing.
Attribute Check On - Happy DQ
...
Update config
Document Query (with all SAMLAttributes)
Assert (DocumentID)
Expect status (Success)
: successful response for attribute checked on and attribute not missing
Attribute Check On -
...
Update config
Document Query (with all SAMLAttributes)
...
Assert (DocumentID)
...
HCID Missing DQ: failure is expected for attribute check on and Home Community ID (HCID) is missing
Attribute Check On - Purposeof Missing DQ
...
Update config
Document Query (with missing purposeOfDisclosureCoded)
...
: failure is expected for attribute check on and purposeOf is missing
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)
...
: failure is expected for attribute check on and role is missing