NHINC Receiving XDRA sync Response Tests

Overview

The Test Suite is design to verify CONNECT configuration with Document Submission (DS) Deferred Response. The test case runs DS deferred response with passthrough outbound and standard inbound and inbound policy engine with permit and deny. The JMX script ensure that gateway is operated on standard and the DS Deferred response outbound service is in passthrough without the need for server restart and using the Spring dependency injection to change policy engine to permit or deny.

Test Cases Detail for DS Deferred response passthrough inbound and standard outbound

The Test cases verify ResponseAccepted acknowledgement from the DS deferred response on Permit policy engine and expected failure response for the Deny policy engine configuration.

  • PolicyCheckPermit: sending DS deferred response with policy engine configured Permit and expect ResponseAccepted

  • PolicyCheckDeny: sending DS deferred response with policy engine configured Deny and expect Failure response

  • AuditLogQuery: sending DS deferred response with policy engine configured Permit, verify audit logging and expect ResponseAccepted