Overview
Verify Document Query (DQ) with simulated adapter (mock-response) error and verify the service (DQ) error.
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 (DQ) to mock-response (error)
Send Document Query request and verify error received.
DocQueryXDSErrors TestSuite
XDSStoredQueryParamNumber Test Case
Set Mock URL
NHIN Doc Query Request
Assert errorCode (XDSStoredQueryParamNumber)
Mock XDS.b Response (XDSStoredQueryParamNumber)
XDSRegistryError Test Case
Set Mock URL
NHIN Doc Query Request
Assert errorCode (XDSRegistryError)
Mock XDS.b Response (XDSRegistryError)
XDSRegistryBusy Test Case
Set Mock URL
NHIN Doc Query Request
Assert errorCode (XDSRegistryBusy)
Mock XDS.b Response (XDSRegistryBusy)
XDSRegistryOutofResources Test Case
Set Mock URL
NHIN Doc Query Request
Assert errorCode (XDSRegistryOutofResources)
Mock XDS.b Response (XDSRegistryOutofResources)
XDSTooManyResults Test Case
Set Mock URL
NHIN Doc Query Request
Assert errorCode (XDSTooManyResults)
Mock XDS.b Response (XDSTooManyResults)
XDSUnknownStoredQuery Test Case
Set Mock URL
NHIN Doc Query Request
Assert errorCode (XDSUnknownStoredQuery)
Mock XDS.b Response (XDSUnknownStoredQuery)
XDSStoredQueryMissingParameters Test Case
Set Mock URL
NHIN Doc Query Request
Assert errorCode (XDSStoredQueryMissingParam)
Mock XDS.b Response (XDSStoredQueryMissingParam)
XDSStoredQueryParameterNumber Test Case
Set Mock URL
NHIN Doc Query Request
Assert errorCode (XDSStoredQueryParamNumber)
Mock XDS.b Response (XDSStoredQueryParamNumber)