Artillery v2.0.13
AWS Lambda
Lambda Container Images
Artillery will now always use Lambda Container Images to run tests on AWS Lambda. The --container
flag introduced in v2.0.12 is no longer required and will be removed in the next release. Creating Lambda functions from .zip archives is no longer supported.
All existing tests should continue running normally without needing any changes. If you run into any issues please open an issue.
This change brings improved startup times for tests running on AWS Lambda and brings AWS Lambda support to parity with AWS Fargate.
Fixes
- Increase startup timeout time for Lambdas running in a VPC (#2778)
- Exit with non-zero code if a Lambda worker fails (#2766)
- Fix issue that could lead tests to crash when triggered from a Windows machine (#2767)
- Expose current worker ID to Lambda workers as
WORKED_ID
environment variable (#2754)
Playwright
- Accept
0
values fordefaultNavigationTimeout
anddefaultTimeout
settings (#2786) - A warning will be printed if a Playwright
testFunction
cannot be found (#2782)
Monitoring & observability (publish-metrics
plugin)
- Add
url
attribute to page spans when tracing is enabled for Playwright tests (#2779) - Fix issue which could cause Core Web Vitals to not be set as span attributes (#2779)
- A
test_id
attribute is no longer set on all metrics. The built-in$testId
variable may be used to set that attribute when needed (#2779) - Request timing phases such as DNS lookups and SSL handshake timings are now recorded as attributes instead of spans for HTTP tests (#2779)
Slack integration
Fix a number of issues that prevented the Slack plugin from working with tests running on AWS Fargate and AWS Lambda (#2754)
WebSocket
- Errors thrown by hook functions will now be tracked and reported (#2783)
With contributions from: @bbeesley @HugoImaios @InesNi @bernardobridge @hassy