Info |
---|
This test needs to be run with DS Deferred Response Outbound |
...
Test Cases
Policy Check Deny
Set Policy Engine Mock (disabled)
Delay 30,000 milliseconds (30 seconds)
XDRA sync Response
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).
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
SOAP: XDRA sync Response
Assert status (ResponseAccepted)
Assert RelatesTo
Policy Check Permit
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
Assert count (record > 0)