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

...

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

...

Set Policy Engine Mock (disabled)

...

Delay 30,000 millisecond (30 seconds)

...

XDRA sync Response

...

(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); testCase will switch DS Deferred Response (Passthrought) 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

  1. Clear audit table

  2. Generate Patient ID for Audit Log Query

  3. Get User ID

  4. Delay 30,000 milliseconds (30 seconds)

  5. SOAP: XDRA sync Response

    • Assert status (ResponseAccepted)

    • Assert RelatesTo

  6. Verify audit events

    • Assert count (record > 0)