Artillery - A lambda function has exited with with an error. Reason: artillery error

31 views Asked by At

I am getting the following error when running a load test via artillery on aws lambda

enter image description here

The same file was working fine back in september 2023.

The yml file is as follows:

enter image description here

The command run on nodejs console is as follows:

artillery run rediscache.yml --platform aws:lambda --platform-opt region=us-east-1

1

There are 1 answers

3
bernardobridge On

You'll need to upgrade to version 2.0.1 or later (preferably latest, which is currently v2.0.7, as there are some Lambda issues that get solved between 2.0.1 and 2.0.7).

As explained here this was due to a bug in dependency management that was solved in v2.0.1. No breaking changes of this kind will happen with versions after that.