...
The regression suite project fulfills the following requirements: FR 9, FR 9.1, FR 9.2, FR 9.3, FR 9.4, FR 9.5, and NFR 9. FR 9, allowing for a correlated identifier (the transaction ID) for a group of transactions, is tested for a different set of messages per test case. FR 9.1, modify all interfaces for correlated identifier, can be traced through each transaction in the server log after running each test case. The transaction ID header element is an optional element which fulfills FR 9.2, correlation ID will be an optional element, and NFR 9, allowing for backward compatibility (this last requirement is met by the use of the fact the element is optional and that the interfaces remain unchanged due to the use of the transaction handler classes). The project as a whole (including all test cases) tests every CONNECT interface from entity to pass-through and synchronous to deferred, fulfilling FR 9.3 (include for all supported message types) and FR 9.4 (include entity, pass-through, synchronous, and deferred). Each test case verifies the logging of the transaction correlations in the transaction log, FR 9.5 (allow for database entries for taking further performance metrics and also allow for server logging). A manual verification of the server logs upon running the test project by the tester will complete the FR 9.5 testing.
Test Cases
*each test case includes the requirements covered in parentheses
PD-DQ-DR (FR 9, 9.1-9.5, NFR 9)
The test case sends Patient Discovery (PD), Document Query (DQ), and Document Retrieve (DR) messages with the same transaction ID and different message IDs. The test asserts that there are 6 total items in the transaction database created by this string of related messages.
...
The test case sends Document Submission (DS) deferred request and response messages with the request message containing a unique message ID and transaction ID and the response containing a unique message ID and a relatesTo ID that equals the request messages messageID. The test asserts that there are 4 total items in the transaction database created by this string of related messages.
...
The test case sends Patient Discovery (PD) deferred request and response messages with the request message containing a unique message ID and transaction ID and the response containing a unique message ID and a relatesTo ID that equals the request messages messageID. The test asserts that there are 3 total items in the transaction database created by this string of related messages. The assertion for 3 is due to an issue that was discovered that PD Deferred response acknowledgement message does not contain a relatesTo value. The issue is reported here: GATEWAY-3029
...
The test case sends Document Submission (DS) and Admin Distribution (AD) messages with the same transaction ID and different message IDs. The test asserts that there are 3 total items in the transaction database created by this string of related messages. AD is a one way message so no response message will be logged.
...
The test case sends Patient Discovery (PD) deferred messages, 2 deferred requests and a response message. Each request message contains a unique message ID and unique transaction ID and the response contains a unique message ID and 2 relatesTo ID values that equals the 2 request messages messageIDs. The test asserts that there are 3 total items for each of the unique transaction IDs (6 altogether).
...
The test case sends Document Submission (DS) deferred messages, 2 deferred requests, and a response message. Each request message contains a unique message ID and unique transaction ID and the response contains a unique message ID and 2 relatesTo ID values that equal the 2 request messages messageIDs. The test asserts that there are 4 total items for the first unique transaction ID and 3 for the second (7 altogether).
...
The test case recreates a Document Query (DQ) fanout scenario. There is a UDDI Connection replacement file (uddiConnectionInfo_TRANS_Fanout.xml) in the regression suite containing 3 HCIDS (2.2, 6.6, 7.7) that will be targeted in the fanout. The test replaces the UDDI connection file in the server with the fanout uddi file. The Document Query message contains no targeted value, so it will fanout. The Document Query message contains a unique transaction ID and message ID. The test asserts that there are 7 total items in the transaction database, 1 for the original entity request message and 2 each (total 6) for each targeted HCID, request, and response.
...