Releases: artilleryio/artillery
Releases · artilleryio/artillery
Release list
Artillery v2.0.34
Immutable
release. Only release title and notes can be modified.
New features
Core & CLI
- Add
artillery pingcommand for quick testing of HTTP endpoints. Sends a request to a URL and shows a performance breakdown (DNS/TCP/TLS/TTFB/download timings) and response headers. Supports expectations via--expect, JMESPath and Cheerio queries on the response body, custom headers, basic auth, JSON/form request bodies, and HTTP/2 (default) or HTTP/1.1 - Full support for ESM: in processors, plugins, engines and custom reporters, including modules that use top-level
await - TypeScript type definitions shipped with the
artillerypackage now model the full test script: all arrival phase kinds, scenarios for every built-in engine, capture/match, built-in plugin configs, and processor hook contracts.
AWS Lambda & Fargate
- Add
--aws-tagsflag to apply custom tags to AWS resources created for a test run (Fargate tasks, Lambda functions, SQS queues). Example:--aws-tags "team:perf,cost-center:1234"
Playwright
- Upgrade to Playwright v1.62.1
Fixes & improvements
Core & CLI
- Fix issue where tests using relative imports (e.g.
import x from './helpers.js') in processor code could fail to run - Fix issue where metric renaming via
$rewriteMetricNamewas silently ignored when the processor file was an ES module
AWS Lambda & Fargate
- The
fake-dataplugin is now bundled with the worker image. Previously workers downloaded it from the npm registry at test startup
Docker
- Scripts mounted into the official Docker image can now import dependencies bundled with Artillery, such as Playwright
Other changes
- Various dependency upgrades to address security advisories
- npm releases are now published via npm trusted publishing (OIDC) with provenance attestations
Artillery v2.0.33
Immutable
release. Only release title and notes can be modified.
Artillery v2.0.32
Immutable
release. Only release title and notes can be modified.
Artillery v2.0.32
What's Changed
New features
Playwright
- Upgrade to Playwright v1.60.0 #3737
Fixes & improvements
Core
- Fix issue where
http.timeoutwas silently capped at 8 seconds for slow origins. Requests against backends that took more than 8 seconds to send the first response byte would fail withERR_SOCKET_TIMEOUTregardless of the configuredhttp.timeoutvalue. #3730 - Fix issue where Artillery commands could fail at startup with
MODULE_NOT_FOUNDerrors for@smithy/node-config-providerand@smithy/config-resolver. #3736 #3735
AWS ECS/Fargate
- Fix issue where tests that depend on external npm modules could run with fewer VUs than configured due to undetected worker startup errors. #3739
Artillery Cloud
- Fix regression where errors from trace upload requests were not surfaced in the CLI output. #3734
- Improve reliability of sending metrics and events to Artillery Cloud. #3731
Other improvements & fixes
- Improved dependency detection for tests that use external npm modules. #3728
Dependencies
- Update OpenTelemetry exporter dependencies #3740
- Various dependency upgrades
with contributions from @maikefischer
Artillery v2.0.31
New features
HTTP engine
- Add support for W3C Trace Context propagation on outgoing HTTP requests. Enable via
config.http.distributedTracing(boolean, or object withenabled,sampled, andtraceIdPrefixfields). When enabled, Artillery adds atraceparentheader to each request so backend traces can be correlated with the originating test. #3708
AWS Fargate
- Add CLI heartbeat mechanism for scenarios where the CLI exits abnormally (e.g. with
SIGKILL) and worker tasks continue running . Fargate worker tasks will now self-terminate if the CLI disappears for more than 180 seconds. #3705
Slack plugin
- Add
notifyOnFailureOnlyoption to only send a Slack notification when a test fails. #3714
Playwright
- Upgrade to Playwright v1.59.1 #3719
Fixes & improvements
AWS Lambda
- Fix issue where test data with
npmdependencies (for example, TypeScript scenarios that require external packages) could silently skip installation, causing the test to fail later with module-not-found errors. 1825591
Core
- Upgrade the HTTP engine to Got v14.6.6 (from Got v11). #3702 Potentially breaking change if your tests use hooks that access or modify Got internals.
Azure ACI
- Test artifacts in Blob Storage are now retained by default. To automatically remove old artifacts, configure a lifecycle management policy on the storage account. #3722
OpenTelemetry
- Upgrade the OpenTelemetry JS SDK to 2.x. Artillery now emits both the legacy and current semantic attribute names on spans (for example
http.urlalongsideurl.full, andhttp.methodalongsidehttp.request.method) so existing dashboards and queries continue to work. #3700
Other improvements & fixes
Artillery v2.0.30
Artillery v2.0.29
Artillery v2.0.28
New features
- Add query string normalization to reduce the number of distinct metrics in Playwright tests. Two new configuration options are now available:
stripQueryString(defaults tofalse): Remove query strings from URLsnormalizeQueryString(defaults totrue): Normalize query string values to reduce metric cardinality. Converts numeric values like/page?id=123to/page?id=NUMBER(#3665)
Fixes & improvements
- Fix issue on Azure ACI where tests that track many distinct metrics could fail or report incomplete results (#3662)
- Fix issue on AWS Fargate where
--scenario-nameflag was ignored, causing all scenarios to run instead of just the specified scenario (#3669) - Upgrade to Playwright v1.57.0 (#3672)
- Routine dependency upgrades across all packages (#3675, #3609)
with contributions from @barth12 @JonathanSmithSkipton @manfromanotherland @hassy
Artillery v2.0.27
New features
Core
- Custom metric names are now limited to 1024 characters #3637
AWS ECS/Fargate
- Add new
--no-assign-public-ipflag to disable automatic assignment of public IPs to worker tasks. This allows for load tests to run from private subnets with a NAT gateway attached for use-cases where traffic has to come from a set of known IPs. #3643
Azure ACI
- Azure load testing is now available on all subscriptions, including month-to-month ones. Previously only annual subscriptions could use the Azure integration.
Load testing with Playwright
- Upgrade to Playwright v1.56.1
- FID (First Input Delay) scores are no longer reported. FID has been deprecated as a Core Web Vital metric on September 9, 2024, and replaced by INP (Interaction To Next Paint). https://web.dev/articles/fid
Fixes & improvements
AWS ECS/Fargate
- Fix issue where ECS IAM policy could not be created #3640
- Fix handling of relative paths in
config.payloadwhen a separate config is used with the--configflag. #3657 #3653 - Fix handling of
--scenario-nameflag #3651
with contributions from @YH1715
Artillery v2.0.26
Artillery v2.0.25
What's Changed
New features
- Stash API is now available. Stash API provides a persistent key-value store for use in your Artillery tests to share data between VUs, and offers Redis-compatible features like working with key-value pairs, lists, counters, and more. docs
Playwright
- Upgrade to Playwright v1.55.0 #3617
Fixes & Improvements
- Fix: Prioritize dependencies set via
package.jsonover automatically-detected dependencies. This fixes issues wherelatestversions of dependencies could be installed rather than those specified inpackage.json#3616 - Fix: Avoid promisifying async "function" steps. This removes Node.js warnings when when an
asyncfunction is used for afunctionstep #3552 - Fix: Use China partition-aware ARNs and principals for tests on AWS Lambda/Fargate #3618
- Routine updates to dependencies to address security reports #3612
- Remove dependency on PostHog SDK #3615
- Migrate to AWS SDK v3. This is an internal change that does not affect any user-visible functionality