...
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 is being redesigned, 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
...
Overview
A deferred service is broken down to request and response, each with it own acknowledgement. During the deferred service request the Inbound Policy is Deny, the request is forward to the Error Adapter endpoint. Bimodal test suite, test the service in both standard and passthrough and will call the JMX in the test case to switch service mode between standard and passthrough without application server restart.
passthrough service skip the policy engine adapter call.
Currently the test suite is targeting Patient Discovery Deferred Request service at the error adapter endpoint to verify acknowledgement response for both standard and passthough.
Info |
---|
Currently the service (error adapter) does not have standard or passthrough configuration, and the test case is missing the JMX call to switch service over to the standard and passthrough. Unsure if the testcase is testing the right service endpoint. To test the service for standard and passthrough, it should hit the service at the entity-endpoint, where the inbound policy is deny to redirect the PD Deferred Request to error adapter. |
TestCases Detail (standard and passthough)
ProcessPatientDiscoveryAsyncReqErrorTestCase: The test case is used to verify the PD Deferred Request error adapter endpoint service. The error adapter endpoint is inbound with policy Deny.
Related To
...