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
Testing the Patient Discovery Deferred service with mock policyEngine (Deny) allowing the Patient Discovery Deferred Request to switch over to AsyncError Adapter and verify the service response.
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