...
Overview
The Test Suite verifies events logging for all CONNECT services and spec version (g0, g1). The Test Suite is run in passthrough, the JMX script is to ensure that the service is in passthrough without the need for server restart.
g1 Suite: This test suite is used to test CONNECT auditing functionality that supports the endpoints implement July-2011 specs.
g0 Suite: This test suite is used to test CONNECT auditing functionality that supports the endpoints implement prior to July-2011 specs.
Table of Contents |
---|
Overview
Send CONNECT Services request to all services and verify each service event logging.
Test Detail
...
Test Cases Detail for passthrough
The test cases verifies the requesting service and its event log details by clearing out the logging event table before the service request is made, verify the event count for the service ran and assert the details of the event log like message id, initiating Home Community ID (HCID), responding HCID and service version (g1, g0)
Clear Database Table (Event Log):
Document Query (DQ): Update Table (Correlation, AAMapping)
Patient Discovery (PD): Update mock-response (Adapter) for Passthrough
Send SOAP (Service) request:
PD: Create Mock Response (Adapter)
Assert count (events)
Assert element (events)
...
expected.
The following CONNECT services is verified by the Test Suite.
Document Submission Deferred (Request
...
Clear Event Logs
...
SOAP: Doc Submission Deferred Req
Assert status (RequestAccepted)
Verify Event Logs
...
)
...
Verify Elements in Event Log
Assert element (Events)
Document Submission Deferred (Response
...
Clear Event Logs
...
SOAP: Doc Submission Deferred Resp
Assert status (ResponseAccepted)
...
Verify Event Logs
Assert count (Events)
Verify Elements in Event Log
...
)
Document Submission
Clear Event Logs
SOAP: Doc Submission
Assert status (Success)
Verify Event Logs
Assert count (Events)
Verify Elements in Event Log
Assert element (Events)
Patient Discovery Deferred (Request)
...
...
Patient Discovery Deferred
...
(
...
Verify Event Logs
Assert count (Events)
...
Verify Elements in Event Log
Assert element (Events)
...
Response
...
Clear Event Logs
SOAP: Patient Discovery Deferred Resp
Assert (codeType, acknowledgementDetail)
Verify Event Logs
Assert count (Events)
Verify Elements in Event Log
Assert element (Events)
Document Submission
...
Clear Event Logs
...
SOAP: Doc Submission
Assert status (Success)
Verify Event Logs
...
)
...
Verify Elements in Event Log
Assert element (Events)
Patient Discovery
...
Clear Event Logs
...
Set Up PassThru (mockPDAdapter)
...
SOAP: Doc Submission
Assert (controlActProcess, Given Name, Family Name)
...
...
Verify Event Logs
Assert count (Events)
...
Verify Elements in Event Log
Assert element (Events)
...
Document Query
...
Clear Event Logs
...
Clear Correlation Table & Add Correlation
...
Clear AA Mapping Table & Add Mapping
Document
...
Assert DocumentId
...
Verify Event Logs
Assert count (Events)
...
Verify Elements in Event Log
Assert element (Events)
...
Retrieve
...
Clear Event Logs
...
SOAP: Document Retrieve
Assert (Repository Id, Document Id, Document Data)
...
Assert count (Events)
...
Verify Elements in Event Log
Assert element (Events)
Admin Distribution
...
...
Document
...
Assert HTTP status (202)
...
Delay (15 second)
...
Verify Event Logs
Assert count (Events)
...
Verify Elements in Event Log
Assert element (Events)
...
Data Submission (
...
g1 only)
...
Clear Event Logs
...
Assert status (Success)
...
Verify Event Logs
Assert count (Events)
...
Verify Elements in Event Log
Assert element (Events)
Patient Location Query (
...
g1 only)
...
Clear Event Logs
...
SOAP: Patient Location Query
Assert count (PatientLocationResponse == 2)
...
Verify Event Logs
Assert count (Events)
Verify Elements in Event Log
...