local debug lambda function with route parameters? #1590
-
I created a sample C# project using the AWS Lambda Annotations template. The project exposes calculator functions. e.g.
Is it possible to use the Mock Lambda Test Tool to invoke a function with route parameters? e.g. '/add/2/4'. It appears that you can only select the function from a drop down, and that's it. I tried to use a API Gateway AWS Proxy example request, modified to include the route parameters, but the function is always called with none detected.
Or is there another way to local test functions with route parameters? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@sartech058 Please refer to comment #1498 (comment) by @normj which mention that Test tool is simulating Lambda invoke not API Gateway routing. So tool always takes whatever is in the input window and sends it to the function that is listed in the functions drop down box. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
@sartech058 Please refer to comment #1498 (comment) by @normj which mention that Test tool is simulating Lambda invoke not API Gateway routing. So tool always takes whatever is in the input window and sends it to the function that is listed in the functions drop down box.
Answer: