O'Reilly logo

Hands-On Serverless Applications with Kotlin by Ameya Kulkarni, Hardik Trivedi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integration testing

Once the API Gateway is configured and integrated with Lambda, one can test it in sandbox mode.

Note that the function is not currently deployed or configured to receive triggers from the outside world. To expose the API to the outside world, it has to be deployed on something called the API Gateway Stage. We will explore that in future sections.

To test in the sandbox mode, you have to click on the Test link, as shown in the following screenshot:

The preceding screenshot shows the test of the positive flow of the API, invoking the Gateway with a request that has a string in the body with the value API GATEWAY. The response ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required