Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Overview

Negative testing with Document Retrieval (DR) by mock (adapterxdsbdocrepository) response and verify the DR response message.

Test Detail

The Bimodal tests are designed to hit service in standard and passthrough, by calling the JMX console to switch the service mode on the fly.

DocumentRetrieveXDSErrorValidation TestSuite

The Test cases are designed to simulate the adapter (error) message and capture in DR response.

XDSRegistryError TestCase

  1. Set Mock URL

  2. SOAP: Nhinc Doc Retrieve Request

    • Match errorCode (XDSRepositoryError)

  3. Mock XDS.b Repository Response (XDSRepositoryError)

XDSRegistryBusy TestCase

  1. Set Mock URL

  2. SOAP: Nhinc Doc Retrieve Request

    • Match errorCode (XDSRegistryBusy)

  3. Mock XDS.b Repository Response (XDSRegistryBusy)

XDSRegistryOutOfResources TestCase

  1. Set Mock URL

  2. SOAP: Nhinc Doc Retrieve Request

    • Match errorCode (XDSRegistryOutOfResources)

  3. Mock XDS.b Repository Response (XDSRegistryOutOfResources)

XDSTooManyResults TestCase

  1. Set Mock URL

  2. SOAP: Nhinc Doc Retrieve Request

    • Match errorCode (XDSTooManyResults)

  3. Mock XDS.b Repository Response (XDSTooManyResults)

XDSUnknownStoredQuery TestCase

  1. Set Mock URL

  2. SOAP: Nhinc Doc Retrieve Request

    • Match errorCode (XDSUnknownStoredQuery)

  3. Mock XDS.b Repository Response (XDSUnknownStoredQuery)

XDSStoredQueryMissingParam TestCase

  1. Set Mock URL

  2. SOAP: Nhinc Doc Retrieve Request

    • Match errorCode (XDSStoredQueryMissingParam)

  3. Mock XDS.b Repository Response (XDSStoredQueryMissingParam)

XDSStoredQueryParamNumber TestCase

  1. Set Mock URL

  2. SOAP: Nhinc Doc Retrieve Request

    • Match errorCode (XDSStoredQueryParamNumber)

  3. Mock XDS.b Repository Response (XDSStoredQueryParamNumber)

PartialSuccess TestCase

  1. Set Mock URL

  2. SOAP: Nhinc Doc Retrieve Request

    • Match status(PartialSuccess)

  3. Mock XDS.b Repository Response (XDSStoredQueryParamNumber)

  • No labels