Currently we don’t recommend running this test. This test is designed to hit the adapter (AsyncError) layer directly and skipping out on the Entity, NwHIN, Audit, Standard and Passthrough processing. If this test should be redesign, Patient Discovery Deferred Request should be hitting the service at entity layer instead of the adapter.
NOTE: There should be a mock-policyEngine (DENY) that switch the Patient Discovery Deferred Request (AsyncError Adapter)
Overview
Deferred Service are broken down to multiple services (Request/Response), each with it own acknowledgement. The PD Async Request Error (Test Project) is to verify the Request service and Acknowledgement. There should be a Mock (PolicyEngine with Deny) allowing the PD Deferred Request to switch between Adapter and AsyncErrorAdapter.
Test Detail
The Bimodal test are design to hit service in standard and passthrough, by calling the JMX console to switch the service mode on the fly.
AdapterPatientDiscoveryAsyncReqErrorBindingSoapTestSuite
ProcessPatientDiscoveryAsyncReqErrorTestCase
AdapterPatientDiscoveryAsyncErrorRequest (SOAP: Patient Discovery Deferred Request)
Verify SOAP Response
Verify Receiver
Verify Sender
Verify Acknowledgement Message