How can I do load testing on AWS lambda functions using K6?
I am looking for any reference/link.
I tried to search but did not find anything useful.
Hi @vishal.lanke,
I’ll try to do my best to help you.
How can I do load testing on AWS lambda functions using K6?
The answer to this question depends on your setup. The main thing about the AWS Lambda is that it requires some events to be triggered. So I’d say for the load test of the Lambdas, you have to trigger events that fire that Lambdas.
For example, if your Lambda is under the AWS API Gateway, the test scenario will look identical to a non-serverless environment. If your Lambda triggers by SQS messages, you can try the xk6-sqs extension or maybe check out other k6’s extensions, and so on.
Let me know if that answers,
Cheers