Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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

  1. setURL

  2. SOAP: FindDocuments (XDSDocumentEntryPatientId)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

FindSubmissionSetsTestCase

  1. setURL

  2. SOAP: FindSubmissionSets (XDSSubmissionSetPatientId)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

FindFoldersTestCase

  1. setURL

  2. SOAP: FindFolders (XDSFolderPatientId)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetFoldersTestCase

  1. setURL

  2. SOAP: GetFolders (XDSFolderEntryUUID)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetAllTestCase

  1. setURL

  2. SOAP: GetAll (patientId, XDSDocumentEntryStatus, XDSSubmissionSetStatus, XDSFolderStatus)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetFoldersForDocumentTestCase

  1. setURL

  2. SOAP: GetFoldersForDocument (XDSDocumentEntryEntryUUID)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetDocumentsTestCase

  1. setURL

  2. SOAP: GetDocuments (XDSDocumentEntryEntryUUID)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetAssociationsTestCase

  1. setURL

  2. SOAP: GetAssociations (uuid)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetDocumentsAndAssociationsTestCase

  1. setURL

  2. SOAP: GetDocumentsAndAssociations (XDSFolderEntryUUID, uuid)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetSubmissionSetsTestCase

  1. setURL

  2. SOAP: GetSubmissionSets (uuid)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetSubmissionSetAndContentsTestCase

  1. setURL

  2. SOAP: GetSubmissionSetAndContents (XDSSubmissionSetEntryUUID)

    • Assert status (Success)

    • Assert count (Document)

  3. findDocumentsDocQueryResponse

GetFolderAndContentsTestCase

  1. setURL

  2. SOAP: GetFolderAndContents (XDSFolderEntryUUID)

    • Assert status (Success)

    • Assert count (Document)

  3. 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