Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This test needs to be run with DS Deferred Response Outbound set to passthrough, and the inbound set to standard.

...

Test Cases

Policy Check Deny

  1. Set Policy Engine Mock (disabled)

  2. Delay 30,000 milliseconds (30 seconds)

  3. XDRA sync Response

  4. Policy Engine Mock (disabled)

Policy Check Permit

  1. Set Policy Engine Mock (disabled)

  2. Delay 30,000 millisecond (30 seconds)

  3. XDRA sync Response

  4. Policy Engine Mock (disabled)

Audit for NHIN CXDR Request

...

Clear audit table

...

Generate Patient ID for Audit Log Query

...

Get User ID

...

Delay 30,000 milliseconds (30 seconds)

...

XDRA sync Response

...

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