MulaiMulai sekarang secara gratis

Testing edge cases and reading logs

Testing a Lambda function means more than checking the happy path. You also want to test missing or invalid inputs and make sure your function returns a clear, consistent response. When something goes wrong, CloudWatch logs are your first stop for debugging.

In this exercise, you'll add basic input validation, include a request ID in your response, and test both a valid and invalid event.

Latihan ini adalah bagian dari kursus

Serverless Applications with AWS Lambda

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga