Hi all! Wondering if you have any recommended reso...
# help
a
Hi all! Wondering if you have any recommended resources to learn more about integration / E2E testing for serverless apps? Components I'm working with now include: • EventBridge • Lambda • SQS • DLQs • and will also be using DDB in the near future One of the things I'm struggling to understand is how to test failure modes - like concurrency config issues in Lambda, or errors that cause messages to be stored in a first or second DLQ, and then retried, etc. Seems like part of this overlaps with load testing too 😬 I hope that makes sense 🙂 Thank you for your help!
f
Hey @Anthony Xiques sorry for the late reply. I don’t have any learning resources to share, but simulating AWS error normally involve some kind of mocking of aws-sdk. Here’s an example using the aws-sdk-mock https://github.com/dwyl/aws-sdk-mock/issues/92
a
@Frank Thank you! I'll check that out 🙏