software · Q802
Artillery
Protocol and Playwright browser load testing with programmable scenarios and cloud distribution.
Overview
Artillery is a load-testing toolkit for protocol scenarios and browser workflows using Playwright. Tests can combine declarative configuration with JavaScript or TypeScript, and its distributed execution features run generators in supported cloud environments.[1][2]
Arrival-based scenarios
Artillery models load as phases that create virtual users at configured arrival rates. Each user runs a scenario with its own state, connections and cookies where applicable. Moving to the next phase does not wait for earlier users to finish, so total test duration can exceed the combined phase lengths. This distinction matters when translating a concurrency-based test: arrival rate and the number of simultaneously active users are different quantities.[3]
Browser and protocol coverage
HTTP, WebSocket and Socket.IO scenarios cover service interactions, while the built-in Playwright engine launches headless browsers and collects frontend measurements such as first and largest contentful paint. Browser definitions can be written fully in TypeScript or combine YAML configuration with JavaScript or TypeScript functions. Choosing an engine changes what is being measured; protocol request timings and rendered-page metrics are not interchangeable results.[2][3]
Automated performance gates
The ensure extension evaluates metrics against thresholds or conditional expressions and can return a nonzero exit code when a required condition fails. Conditions marked non-strict are optional and do not fail the process. A nonexistent metric name also fails its check, making configuration review important when adding a CI gate or changing the engine that emits the metrics.[4]
Distribution and licensing
The repository describes most code as MPL-2.0, with certain Azure modules under a Business Source License requiring commercial licensing for commercial or production use. Distributed AWS execution runs in the team's own account, bundles scripts and dependencies, provisions workers and aggregates their results. The software's distribution support should not be mistaken for an allowance of free cloud infrastructure; account resources and permissions remain operational considerations.[1][5]
Substitution scope
Artillery can substitute for Grafana k6 for code-managed web load testing, particularly where Node.js-based customization or Playwright scenarios fit an existing workflow. Both cover protocol and browser testing, but their scripts, runtime APIs and workload definitions differ. This is an assessment of overlapping tasks, not a verified converter or benchmark. Migration should reconcile arrival phases, browser behavior, metric names and required cloud deployment terms.[2][3][6][7]
Capabilities & limitations
Protocol and browser load
supportedProtocol engines coexist with built-in Playwright browser scenarios.[1][2]
Web protocol and browser load testing · Node.js environments, AWS, Azure · Version, plan and platform requirements apply
2 sources · check evidence
Features, MPL-2.0 and Azure BSL modules
vendor · checked 2026-10-07TypeScript/YAML tests and frontend metrics
vendor · checked 2026-10-07Metric-based CI gates
supportedRequired ensure conditions fail the process; non-strict conditions are optional.[4]
Web protocol and browser load testing · Node.js environments, AWS, Azure · Version, plan and platform requirements apply
1 source · check evidence
Strict and optional conditions; nonzero exits
vendor · checked 2026-10-07Cloud distribution
limitedOwn-account cloud execution; some Azure modules require commercial licensing for production.[1][5]
Web protocol and browser load testing · Node.js environments, AWS, Azure · Version, plan and platform requirements apply
2 sources · check evidence
Own-account resources, bundling and supported runtimes
vendor · checked 2026-10-07Features, MPL-2.0 and Azure BSL modules
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Grafana k6 for Web protocol and browser load testing
limitedCan replace web performance-test workflows with Artillery scenarios; runtime APIs, workload models and cloud/license requirements differ.[2][3][6]
Node.js environments, AWS, Azure · Version, plan and platform requirements apply
References
- Artillery repository
Features, MPL-2.0 and Azure BSL modules
vendor · retrieved 2026-10-07 - Artillery Playwright engine
TypeScript/YAML tests and frontend metrics
vendor · retrieved 2026-10-07 - Artillery core concepts
Arrival phases, independent users and test lifecycle
vendor · retrieved 2026-10-07 - Artillery ensure assertions
Strict and optional conditions; nonzero exits
vendor · retrieved 2026-10-07 - Artillery distributed execution
Own-account resources, bundling and supported runtimes
vendor · retrieved 2026-10-07 - Grafana k6 repository
Features, cloud integration and AGPL-3.0
vendor · retrieved 2026-10-07 - First k6 browser test
Chromium prerequisites and separate JavaScript runtime
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 850 | 2026-10-13 11:32:20 | /* wbeditentity-create-item:0| */ sf:795490ae-1ec0-4c05-af6a-856c51c442b3:v1 | Add Artillery with cited product identity, workflow and portability boundaries; documentation research only. | attribution: /proposals/795490ae-1ec0-4c05-af6a-856c51c442b3 |