Info |
---|
As of CONNECT 5.1, both files have been replaced with the more versatile exchangeInfo.xml and internalExchangeInfo.xml files. For users of CONNECT 5.0 and earlier versions, substitute references to these new files with the original uddiConnectionInfo.xml and internalConnectionInfo.xml files |
Table of Contents |
---|
Overview
The test TestProject is designed to verify X12 service error handling (Soap Fault, Error Response).
Test Detail
The X12 Services are Passthrough only.
SOAP Request and verify Error Response (Soap Fault, Error Message).
InvalidXML
For invalid XML Request message expected Soap Fault from the service.
RealTimeTransaction TestCase
RealTimeTransaction
Assert (Soap Fault)
Assert fault code (Sender)
Assert fault message (SAAJ object model)
BatchSubmit (Request) Transaction TestCase
BatchSubmitTransaction
Assert (Soap Fault)
Assert fault code (Sender)
Assert fault message (SAAJ object model)
BatchSubmit (Response) Transaction TestCase
BatchSubmitTransaction
Assert (Soap Fault)
Assert fault code (Sender)
Assert fault message (SAAJ object model)
InvalidSAMLVersion
For invalid SAMLVersion in the request message, Soap Fault exception is expected from the service.
RealTimeTransaction TestCase
RealTimeTransaction
Assert (Soap Fault)
Assert fault code (Sender)
Assert fault message (SAAJ object model)
BatchSubmit (Request) Transaction TestCase
BatchSubmitTransaction
Assert (Soap Fault)
Assert fault code (Sender)
Assert fault message (SAAJ object model)
BatchSubmit (Response) Transaction TestCase
BatchSubmitTransaction
Assert (Soap Fault)
Assert fault code (Sender)
Assert fault message (SAAJ object model)
NoTargetCommunityData
Sending SOAP Request without NhinTargetCommunities element.
RealTimeTransaction TestCase
RealTimeTransaction
Assert error code (Sender)
Assert error message
BatchSubmit (Request) Transaction TestCase
BatchSubmitTransaction
Assert error code (Sender)
Assert error message
BatchSubmit (Response) Transaction TestCase
BatchSubmitTransaction
Assert error code (Sender)
Assert error message
AdapterNotReachable
Adapter not reachable is cause by the internalExchangeInfo.xml (missing endpoint)
RealTimeTransaction TestCase
RealTimeTransaction
Assert error code (Receiver)
Assert error message
BatchSubmit (Request) Transaction TestCase
BatchSubmitTransaction
Assert error code (Receiver)
Assert error message
BatchSubmit (Response) Transaction TestCase
BatchSubmitTransaction
Assert error code (Receiver)
Assert error message
InvalidTargetCommunityData
Missing Targeted Community (8.8), in the exchangeInfo.xml
RealTimeTransaction TestCase
RealTimeTransaction
Assert error code (Sender)
Assert error message
BatchSubmit (Request) Transaction TestCase
BatchSubmitTransaction
Assert error code (Sender)
Assert error message
BatchSubmit (Response) Transaction TestCase
BatchSubmitTransaction
...
Assert error code (Sender)
...
for X12 Document Submission Services. X12 document submission are passthrough only services.
TestSuite and TestCases Detail
The following TestSuite all have the following TestCases having the same issue for different services.
TestCases
RealTimeTransaction TestCase: X12 Document Submission
BatchSubmit RequestTransaction TestCase: X12 Document Submission Deferred (Request)
BatchSubmit Response Transaction TestCase: X12 Document Submission Deferred (Response)
TestSuites
InvalidXML: sending service requests with Invalid XML message and expecting soap fault.
InvalidSAMLVersion: sending service requests with Invalid SAML Version message and expecting soap fault
NoTargetCommunityData: sending service requests without Nhin target communities element and expecting service error response
AdapterNotReachable: sending service requests with missing adapter endpoint and expecting service error response
InvalidTargetCommunityData: service requests with invalid HCID and expecting service error response.