Lambda Function

With Testlum you can automatically test your lambda functions from AWS services.

Lambda Integration

Description

<lambdaIntegration> - command for integration with lambda

Required parameters

  1. alias - unique name of the integration
  2. enabled – a boolean flag to enable/disable integration (can be “true” or “false”)
  3. region - the AWS Region
  4. endpoint - endpoint URL
  5. accessKey and secretAccessKey - your AWS credentials
XML
Copy

How to send the query

Description

<lambda> - command which is responsible for sending the lambda queries in testing scenarios

Required parameters

  1. comment
  2. alias
  3. functionName
  4. body:
  • from – file
  • raw – string
  1. response:
  • code (default 200)
  • file
  • header (optional): name, data
XML
Copy

body_1.json file example

JSON
Copy

expected_1.json file example

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard