Demonstrating the testing of Kumologica-based Lambda API from Postman.

Locally testing an AWS Lambda-based API is always bit of a painful task. This is primarily due to nature of interface and signature provided by AWS Lambda. AWS Lambda by default is not an API, as it just holds the workload execution of your API. Only when an API Gateway is attached to the Lambda will it make a complete API.

Now here is the tricky part. When developing your API implementation locally, you don’t have an API Gateway so you need to test the Lambda by sending the AWS API Gateway event directly to your implementation for testing.

The other option is by running a Docker instance of API Gateway locally. If you are using SAM or serverless framework, you still need to understand the AWS event and test the API implementation more like an invocation of function rather than the popular and traditional style of invoking from a REST client like postman.

Kumologica  2.0 has introduced the capability to test the API flow locally from Postman or any REST client of your choice with zero effort or understanding of AWS triggers or API gateway events needed.

#aws #serverless #microservice #aws lambda #kumologica

[Video] Quick and Effortless Testing of Kumologica-Based Lambda From Postman
1.25 GEEK