Table of Contents |
---|
Overview
Verify Document Query The TestSuite verify failure of required element and value for Additional Stored Queries (XDSDocumentEntryPatientId) required element is present in the request.
Test Detail
The Document Query (Passthrough) service is running with JMX call script to set the CONNECT application to Passthrough services without application restart.
Update CONNECT config
Update Database table (Correlation, AA Mapping)
Send Document Query (without XDSDocumentEntryPatientId) and verify error message.
DocumentQueryErrorCodes:
XDSStoredQueryMissingParam Missing XDSDocumentEntryPatientId (Value)
Update configuration
Clear correlation table and Add Correlation
Clear AA Mapping and Add Mapping
Delay 30,000 milliseconds (30 seconds)
Document Query
Assert errorCode (XDSStoredQueryMissingParam)
Assert codeContext (Required parameter XDSDocumentEntryPatientId, not present in query request)
XDSStoredQueryMissingParam Missing XDSDocumentEntryPatientId (slot element)
...
Update configuration
...
Clear correlation table and Add Correlation
...
Clear AA Mapping and Add Mapping
...
Delay 1,000 milliseconds? (30 seconds)
Document Query
...
Assert errorCode (XDSStoredQueryMissingParam)
...
with Document Query. The TestSuite is run in passthrought, the JMX script is to ensure that the service is in passthrough without the need for server restart.
TestCases Detail for passthrough
The Test cases assert failure response for missing element and value of Additional Stored Queries (XDSDocumentEntryPatientId).
XDSStoredQueryMissingParam Missing XDSDocumentEntryPatientId Value: missing slot element
XDSStoredQueryMissingParam Missing XDSDocumentEntryPatientId slot element: Missing value element of the slot