Info |
---|
This test needs to be run with DS Deferred Request Outbound (Passthrough) and 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) |
Table of Contents |
---|
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)
XDRA sync Request
Assert status (RequestAccepted)
Manually verify Adapter (DS Deferred Request Error) endpoint server.log
Policy Check Permit
Update PolicyEngineProxyConfig (adapterpolicyengineorchestratornoop)
XDRA sync Request
Assert status (RequestAccepted)
Manually verify Adapter (DS Deferred Request) endpoint server.log
Audit for NHIN CXDR Request
...
Clear audit table
...
Generate Patient ID for Audit Log Query
...
Get User ID
...
Delay 30,000 milliseconds (30 seconds)
...
XDRA Sync Request
Assert status (RequestAccepted)
Verify audit events
...
Overview
The TestSuite is design to verify CONNECT configuration with Document Submission (DS) Deferred Request, the test case run DS deferred request with passthrough outbound and standard inbound and inbound policy engine with permit and deny. This TestSuite, JMX script is to ensure that gateway is operated on standard and the DS Deferred request outbound service is in passthrough without the need for server restart and using the Spring dependency to change policy engine to permit or deny.
Test Cases Detail for DS Deferred request passthrough inbound and standard outbound
The test cases verify RequestAccepted acknowledgement from the DS deferred request for both permit and deny policy engine.
Info |
---|
For Deny policy workflow, manually verify the request is send to error adapter (AdapterDocSubmissionDeferredRequestError) |
PolicyCheckDeny: sending DS deferred request with policy engine configured Deny, manually verify error adapter endpoint
PolicyCheckPermit: sending DS deferred request with policy engine configured Permit
AuditForNHINCXDRRequest: sending DS deferred request with policy engine configured Permit and verify audit logging.