Processor Test
4.3.2 Processor Test
Objective
Validate the data processing flow from SQS to the Lambda Processor.
Test data is simulated as log messages from SQS, including fields such as appId, level, message, and timestamp.
Implementation Steps
After configuring all required resources, a test event is created to simulate input data from SQS.
- Create a test event named TextSendingMessage and input the data into the Event JSON section.

Paste the JSON data into the Event JSON section.


- Execute the Lambda function to process the data.

- Verify the processing results
- Log data is stored in S3.
The S3 results confirm that the log data has been successfully stored after processing.


- Email notifications are successfully sent.

Workflow Description
- Messages are sent to SQS
- Lambda Processor retrieves the message, processes it, and deletes it in the sqs.
- Notifications are sent if there is an error log.
- Data is processed and:
- Stored in S3
- Stored in DynamoDB
- Notifications are sent via SNS
Conclusion
The log processing system operates correctly, ensuring that data is processed, stored, and notifications are delivered successfully.