Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

The TestSuite verify events logging for all CONNECT services and spec version (g0, g1). The TestSuite is run in passthrought, 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

...

TestCases Detail for passthrough

The Test cases is design to verify the requesting service and it 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 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 verify 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)

  1. Clear Event Logs

  2. SOAP: Doc Submission Deferred Resp

    • Assert status (ResponseAccepted)

  3. Verify Event Logs

    • Assert count (Events)

  4. Verify Elements in Event Log

    • Assert element (Events)

  • Document

...

Clear Event Logs

...

  • Submission

...

  • Assert status (Success)

...

Verify Event Logs

  • Assert count (Events)

Verify Elements in Event Log

...

  • Patient Discovery Deferred (Request)

...

...

  • Patient Discovery Deferred

...

  • (

...

Verify Event Logs

  • Assert count (Events)

...

Verify Elements in Event Log

  • Assert element (Events)

...

  • Response

...

  1. Clear Event Logs

  2. SOAP: Patient Discovery Deferred Resp

    • Assert (codeType, acknowledgementDetail)

  3. Verify Event Logs

    • Assert count (Events)

  4. 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

...

...

Set Up PassThru (mockPDAdapter)

...

SOAP: Doc Submission

  • Assert (controlActProcess, Given Name, Family Name)

...

Mock Response

...

Verify Event Logs

  • Assert count (Events)

...

Verify Elements in Event Log

  • Assert element (Events)

  • Document Query

...

Clear Event Logs

...

Clear Correlation Table & Add Correlation

...

...

  • Document

...

  • Assert DocumentId

...

Verify Event Logs

  • Assert count (Events)

...

Verify Elements in Event Log

  • Assert element (Events)

...

  • Retrieve

  1. Clear Event Logs

  2. SOAP: Document Retrieve

    • Assert (Repository Id, Document Id, Document Data)

  3. Verify Event Logs

    • Assert count (Events)

  4. 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 (

...

Clear Event Logs

...

SOAP: Document Data Submission

  • Assert status (Success)

...

Verify Event Logs

  • Assert count (Events)

Verify Elements in Event Log

...

  • g1 only)

  • Patient Location Query (

...

Clear Event Logs

...

SOAP: Patient Location Query

  • Assert count (PatientLocationResponse == 2)

...

Verify Event Logs

  • Assert count (Events)

Verify Elements in Event Log

...

  • g1 only)