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 9 Next »

This test needs to be run with DS Deferred Request 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 Request (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 Request successful for configuration of Outbound (Passthrough) and Inbound (Standard); PolicyEngine (Permit/Deny) can be verify in the server.log at the Adapter DS Deferred Request (Error).

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 Document Submission Deferred Request and verify response status (RequestAccepted).

    • if PolicyEngine (Deny), manually verify Adapter (DS Deferred Request Error) endpoint.

  • ** Verify Audit (event)

NHINCReceivingXDRAsyncResponseTests

Policy Check Deny

Update PolicyEngineProxyConfig (adapterpolicyengineorchestratornoopdeny)

  1. XDRA sync Request

    • Assert status (RequestAccepted)

    • Manually verify Adapter (DS Deferred Request Error) endpoint server.log

Policy Check Permit

Update PolicyEngineProxyConfig (adapterpolicyengineorchestratornoop)

  1. XDRA sync Request

    • Assert status (RequestAccepted)

    • Manually verify Adapter (DS Deferred Request) endpoint server.log

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. XDRA Sync Request

    • Assert status (RequestAccepted)

  6. Verify audit events

    • Assert count (audit > 0)

  • No labels