Overview
The TestSuite is to verify functionality of Admin Distribution for both success and failure of the service. The TestSuite is run in passthrought, the JMX script is to ensure that the service is in passthrough without the need for server restart.
The NwHIN Administrative Distribution (AD) Web Service is intended to provide a mechanism for NHIEs to exchange non-patient specific data using a "push" mechanism. The Administrative Distribution transaction is a one way transaction, meaning there is no application-level response. The AD message, also called the Send Alert Message Request, is a collection of metadata and documents or structured XML data transferred between a Message Sender and a Message Receiver.
TestCases Detail for passthrough
The Test cases are used to verify Admin Distribution to handle optional element like binary document, XML metadata and content object. The service success if verify by HTTP 202 and audit events, and service failure is manually verify in the server log.
NhincProxyRequest with a Binary doc: verify service with binary document
NhincProxyRequest with XML data: verify service with xml metadata
NhincProxyRequest with multiple documents (XML and Binary): verify service with both binary and xml
NhincProxyRequest with multiple documents (multiple contentObjects): verify service with populated content objects
NhincProxyRequest without a ContentObject: verify service without content objects
NhincProxyRequest with an empty ContentObject: verify service empty content objects
NhincProxyRequest - 404 or 500 error: modify the endpoint to cause 404 error and manually verify the server log is required