Service - Integration Testing

From Izara Wiki
Revision as of 13:43, 2 September 2020 by Sven the Barbarian (talk | contribs)
Jump to navigation Jump to search

Overview

Service that pulls integration tests from the Integration Test Config service, invokes each test and monitors the steps execute as expected.

This service is intended to be run in a deployed AWS environment, all services and resources required for the integration tests need to be operational.

Database Structure

sds

Initiating tests

When the initial request is sent to begin an integration test the middleware LOG_LEVEL is set to DEBUG, this causes all Lambda functions and requests to external services to add a message to the services MsgOut queue. The Integration Testing service subscribes to these queues and uses these messages to monitor each stage of the workflow to ensure input and output is as expected, and that the request completes.

(possible feature) We could mark requests initiated by Integration Testing service with a Correlation Id which gets added to Message Attributes and can be used as a filter, so only debug messages that were initiated by Integration Testing are received by it. This will exclude requests that middleware randomly sets to debug.