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 ...

Get Hands-On Serverless Applications with Kotlin now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.