Versions Compared

Key

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

This test needs to be run with DS Deferred Response Outbound (Passthrough) and Inbound (Standard).

  • Skip PolicyEngine on Outbound (Passthrough)

  • Request (Permit, Deny) decision on Inbound (Standard)

Your gateway services should be set to Standard (Default). The test case will switch DS Deferred Response (Passthrough) automatically without server restart (JMX). The PolicyEngine (Permit/Deny) is switch automatically at SpringBean (PolicyEngineProxyConfig) to value (adapterpolicyengineorchestratornoopdeny, adapterpolicyengineorchestratornoop)

Table of Contents

Overview

Verify the Document Submission Deferred (Response) successful with configuration of Outbound (Passthrough) and Inbound (Standard).

Test Detail

Test Case (MockPolicyEngine can be removed), the PolicyEngine (Permit/Deny) is switch at SpringBean (PolicyEngineProxyConfig) using JMX script.

  • ** Clear table (Audit)

  • ** Generate PatientId and UserId

  • Send DS Deferred (Response) and verify expected result.

  • ** Verify Audit (Record)

NHINCReceivingXDRAsyncResponseTests

Policy Check Deny

  1. SOAP: XDRA sync Response

    • Assert status (ResponseAccepted)

    • Assert RelatesTo

Policy Check Permit

  1. SOAP: XDRA sync Response

    • Assert status (Failure)

    • Assert RelatesTo

Audit for NHIN CXDR Request

...

Clear audit table

...

Generate Patient ID for Audit Log Query

...

Get User ID

...

Delay 30,000 milliseconds (30 seconds)

...

SOAP: XDRA sync Response

  • Assert status (ResponseAccepted)

  • Assert RelatesTo

Verify audit events

...

Overview

The TestSuite is design to verify CONNECT configuration with Document Submission Deferred Response, the test case run 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.

TestCases 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