Artillery CLI v2.0.1
CLI & Core
- Add time unit support for
thinksteps in scenarios metrics-by-endpointplugin is now enabled by default to capture per-URL metrics in HTTP tests. The metrics will be available only in the JSON report and not output to the console, unless the plugin is loaded explicitly by the user.- Configure CPU and memory for Fargate tests with
--cpuand--memoryflags - Fix issue with
$envnot resolving correctly in theconfigsection - Fix an issue with
--scenario-namenot picking up the correct scenario - Add a new
fake-dataplugin to allow for realistic test data to be generated in your tests - docs - Fix handling of metrics with non-alphanumeric characters in
ensurechecks - Improve error handling in the
expectplugin
OpenTelemetry
- Add experimental tracing support for Playwright tests, with tracing of
test.step()calls, page navigation events, and Core Web Vitals metrics - Improve conformance to OTel semantic conventions :
- Include error messages for spans with HTTP response codes of
400or higher - Include
HTTP_REQUEST_CONTENT_LENGTH,HTTP_USER_AGENTandHTTP_FLAVORattributes
- Include error messages for spans with HTTP response codes of
- Fix issue with virtual user ID attribute (
vu.uuid) not always being set correctly - Fix inconsistencies in error handling
Playwright
- Add experimental tracing support via OpenTelemetry with
publish-metricsplugin - Fix
FIDCore Web Vital metric not being emitted as expected
ECS/Fargate
- Configure CPU and memory for Fargate tests with
--cpuand--memoryflags
Socket.IO
- Allow validation of any number of arguments in response/acknowledge with new
args/onoptions - More flexible validations with ability to wait for multiple responses
- Fix issue with displaying
matcherrors in the report