If you have successfully deployed the Lambda, you can also test it directly in the GUI. When you click the blue Test
button for the first time, it presents you with a creation of a new test event.
If you are testing the Java code from the Basic Lambda code in Java example, delete the whole body and simply add a number 1
.
If you are testing the Javascript code from the Basic Lambda code in Javascript (Node) example, create a json that looks like this:
{
"number": "1"
}
Run the test. You should see the result:
"You sent 1"