Table of Contents |
---|
Overview
Testing Document Query search capability, using the AdhocQueryRequest and Slot (name), mocking the adapter-response and verifying 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 Adapter-URL call to Mock-Response
Send Document Query with search-parameter and verify the response.
DocQueryAdditionalStoredQueries TestSuite
findDocumentsTestCase
setURL
SOAP: FindDocuments (XDSDocumentEntryPatientId)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
FindSubmissionSetsTestCase
setURL
SOAP: FindSubmissionSets (XDSSubmissionSetPatientId)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
FindFoldersTestCase
setURL
SOAP: FindFolders (XDSFolderPatientId)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetFoldersTestCase
setURL
SOAP: GetFolders (XDSFolderEntryUUID)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetAllTestCase
setURL
SOAP: GetAll (patientId, XDSDocumentEntryStatus, XDSSubmissionSetStatus, XDSFolderStatus)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetFoldersForDocumentTestCase
setURL
SOAP: GetFoldersForDocument (XDSDocumentEntryEntryUUID)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetDocumentsTestCase
setURL
SOAP: GetDocuments (XDSDocumentEntryEntryUUID)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetAssociationsTestCase
setURL
SOAP: GetAssociations (uuid)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetDocumentsAndAssociationsTestCase
setURL
SOAP: GetDocumentsAndAssociations (XDSFolderEntryUUID, uuid)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetSubmissionSetsTestCase
setURL
SOAP: GetSubmissionSets (uuid)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetSubmissionSetAndContentsTestCase
setURL
SOAP: GetSubmissionSetAndContents (XDSSubmissionSetEntryUUID)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetFolderAndContentsTestCase
setURL
SOAP: GetFolderAndContents (XDSFolderEntryUUID)
Assert status (Success)
Assert count (Document)
findDocumentsDocQueryResponse
GetRelatedDocumentsTestCase
...
setURL
...
SOAP: GetRelatedDocuments (AssociationTypes)
Assert status (Success)
Assert count (Document)
...
The TestSuite used mock adapter to verify Document Query Additional Stored Queries. 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 send Additional Stored Queries in Document Query service and verify the Additional Stored Queries from the mock adapter; update the endpoint for mock adapter, send DQ request and verify successful service response and addional stored queries.
findDocumentsTestCase: verify XDSDocumentEntryPatientId and XDSDocumentEntryStatus
FindSubmissionSetsTestCase: verify XDSSubmissionSetPatientId and XDSSubmissionSetStatus
FindFoldersTestCase: verify XDSFolderPatientId and XDSFolderStatus
GetFoldersTestCase: verify XDSFolderEntryUUID
GetAllTestCase: verify patientId, XDSDocumentEntryStatus, XDSSubmissionSetStatus and XDSFolderStatus
GetFoldersForDocumentTestCase: verify XDSDocumentEntryEntryUUID
GetDocumentsTestCase: verify XDSDocumentEntryEntryUUID
GetAssociationsTestCase: verify uuid
GetDocumentsAndAssociationsTestCase: verify uuid, XDSFolderEntryUUID
GetSubmissionSetsTestCase: verify uuid
GetSubmissionSetAndContentsTestCase: verify XDSSubmissionSetEntryUUID
GetFolderAndContentsTestCase: verify XDSFolderEntryUUID
GetSubmissionSetsTestCase: verify AssociationTypes