{"schemaVersion":"1.0","record":{"label":"Artillery","description":"Protocol and Playwright browser load testing with programmable scenarios and cloud distribution.","aliases":[],"kind":"software","website":"https://www.artillery.io/","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.","license":"MPL-2.0 for most code; BSL/commercial terms for some Azure modules","lifecycle":"active","example":false,"features":[{"name":"Protocol and browser load","status":"supported","detail":"Protocol engines coexist with built-in Playwright browser scenarios.","useCase":"Web protocol and browser load testing","platforms":["Node.js environments","AWS","Azure"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://github.com/artilleryio/artillery/blob/main/README.md","locator":"Features, MPL-2.0 and Azure BSL modules","retrievedAt":"2026-10-07T11:03:40Z","kind":"vendor"},{"url":"https://www.artillery.io/docs/reference/engines/playwright","locator":"TypeScript/YAML tests and frontend metrics","retrievedAt":"2026-10-07T11:03:49Z","kind":"vendor"}]},{"name":"Metric-based CI gates","status":"supported","detail":"Required ensure conditions fail the process; non-strict conditions are optional.","useCase":"Web protocol and browser load testing","platforms":["Node.js environments","AWS","Azure"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://www.artillery.io/docs/reference/extensions/ensure","locator":"Strict and optional conditions; nonzero exits","retrievedAt":"2026-10-07T11:03:49Z","kind":"vendor"}]},{"name":"Cloud distribution","status":"limited","detail":"Own-account cloud execution; some Azure modules require commercial licensing for production.","useCase":"Web protocol and browser load testing","platforms":["Node.js environments","AWS","Azure"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://www.artillery.io/docs/load-testing-at-scale","locator":"Own-account resources, bundling and supported runtimes","retrievedAt":"2026-10-07T11:04:22Z","kind":"vendor"},{"url":"https://github.com/artilleryio/artillery/blob/main/README.md","locator":"Features, MPL-2.0 and Azure BSL modules","retrievedAt":"2026-10-07T11:03:40Z","kind":"vendor"}]}],"alternatives":[],"slug":"artillery","draftAlternatives":[{"targetSlug":"grafana-k6","status":"limited","detail":"Can replace web performance-test workflows with Artillery scenarios; runtime APIs, workload models and cloud/license requirements differ.","useCase":"Web protocol and browser load testing","platforms":["Node.js environments","AWS","Azure"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://www.artillery.io/docs/reference/engines/playwright","locator":"TypeScript/YAML tests and frontend metrics","retrievedAt":"2026-10-07T11:03:49Z","kind":"vendor"},{"url":"https://www.artillery.io/docs/get-started/core-concepts","locator":"Arrival phases, independent users and test lifecycle","retrievedAt":"2026-10-07T11:03:40Z","kind":"vendor"},{"url":"https://github.com/grafana/k6/blob/master/README.md","locator":"Features, cloud integration and AGPL-3.0","retrievedAt":"2026-10-07T11:03:29Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/artilleryio/artillery/blob/main/README.md","locator":"Features, MPL-2.0 and Azure BSL modules","retrievedAt":"2026-10-07T11:03:40Z","kind":"vendor"},{"url":"https://www.artillery.io/docs/reference/engines/playwright","locator":"TypeScript/YAML tests and frontend metrics","retrievedAt":"2026-10-07T11:03:49Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/artilleryio/artillery/blob/main/README.md","locator":"Features, MPL-2.0 and Azure BSL modules","retrievedAt":"2026-10-07T11:03:40Z","id":"artillery-readme","title":"Artillery repository","kind":"vendor"},{"url":"https://www.artillery.io/docs/reference/engines/playwright","locator":"TypeScript/YAML tests and frontend metrics","retrievedAt":"2026-10-07T11:03:49Z","id":"artillery-browser","title":"Artillery Playwright engine","kind":"vendor"},{"url":"https://www.artillery.io/docs/get-started/core-concepts","locator":"Arrival phases, independent users and test lifecycle","retrievedAt":"2026-10-07T11:03:40Z","id":"artillery-concepts","title":"Artillery core concepts","kind":"vendor"},{"url":"https://www.artillery.io/docs/reference/extensions/ensure","locator":"Strict and optional conditions; nonzero exits","retrievedAt":"2026-10-07T11:03:49Z","id":"artillery-ensure","title":"Artillery ensure assertions","kind":"vendor"},{"url":"https://www.artillery.io/docs/load-testing-at-scale","locator":"Own-account resources, bundling and supported runtimes","retrievedAt":"2026-10-07T11:04:22Z","id":"artillery-dist","title":"Artillery distributed execution","kind":"vendor"},{"url":"https://github.com/grafana/k6/blob/master/README.md","locator":"Features, cloud integration and AGPL-3.0","retrievedAt":"2026-10-07T11:03:29Z","id":"k6-readme","title":"Grafana k6 repository","kind":"vendor"},{"url":"https://grafana.com/docs/k6/latest/using-k6-browser/write-your-first-browser-test/","locator":"Chromium prerequisites and separate JavaScript runtime","retrievedAt":"2026-10-07T11:03:21Z","id":"k6-browser","title":"First k6 browser test","kind":"vendor"}],"overviewCitations":["artillery-readme","artillery-browser"],"licenseCitations":["artillery-readme"],"sections":[{"id":"load-model","heading":"Arrival-based scenarios","paragraphs":[{"id":"load-model-detail","content":[{"text":"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."}],"citations":["artillery-concepts"]}]},{"id":"browser","heading":"Browser and protocol coverage","paragraphs":[{"id":"browser-detail","content":[{"text":"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."}],"citations":["artillery-concepts","artillery-browser"]}]},{"id":"quality","heading":"Automated performance gates","paragraphs":[{"id":"quality-detail","content":[{"text":"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."}],"citations":["artillery-ensure"]}]},{"id":"deployment","heading":"Distribution and licensing","paragraphs":[{"id":"deployment-detail","content":[{"text":"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."}],"citations":["artillery-readme","artillery-dist"]}]},{"id":"fit","heading":"Substitution scope","paragraphs":[{"id":"fit-detail","content":[{"text":"Artillery can substitute for "},{"text":"Grafana k6","targetSlug":"grafana-k6"},{"text":" 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."}],"citations":["artillery-concepts","artillery-browser","k6-readme","k6-browser"]}]}]},"id":"Q802","revision":850,"updatedAt":"2026-10-13T11:32:20Z","sourceUrl":"https://substitutefor.net/entities/Q802?revision=850"}}