Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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)

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)

  • No labels