ValidatePDCommunicationErrorHandlingTest

Overview

The Test Suite verify error handling response for Patient Discovery (PD) communication between gateway to gateway.

Bimodal tests are executed in both (Standard, PassThrough) modes and required JMX enable at the server level for SoapUI to successfully switch between Standard and PassThrough.

This tests Gateway-406 (GW-949 is the testing subtask). See ticket for more details.

There are two things to test:

  1. If the requesting gateway encountered an error before the PD request is sent to the NwHIN
    (the error is local), then the gateway was not correctly populating the sender and receiver
    device\id@root. Now, the fields are populated with the actual gateway Home Community ID (HCID).

  2. Error information is now populated in the XML tag controlActProcess\reasonOf
    detectedIssueEvent\text.a

TestCases Detail for standard and passthrough

The test cases is design to update the exchangeInfo PD service endpoint for gateway 2.2 to create communication error and verify the detected issue in the PD service response.

  • Patient Discovery bad URL: update exchangeInfo and verify detected issue.