Full-stack performance and reliability testing: scalable API and Playwright load testing
open coreMPL-2.0self-hostablefree
Artillery is a load testing tool and platform: tests are written in YAML or JavaScript/TypeScript and run with the Node.js artillery CLI against HTTP APIs, GraphQL, WebSocket, Socket.IO, gRPC, Kinesis and more, or drive real headless browsers with Playwright. The CLI can scale a test out across workers in your own cloud account on AWS Lambda, AWS Fargate or Azure Container Instances, models load with phases and arrival rates, and has a plugin API and 20+ integrations for monitoring, observability and CI/CD. Artillery Cloud adds a hosted dashboard for load test and Playwright E2E reports, sharing, trends and GitHub PR comments, on a free plan and paid Team and Business plans. The CLI is mostly MPL-2.0, while its Azure-specific modules are under the Business Source License and need a commercial licence for production use.
Ways to install
Package managers
Problems it solves
- load test our API with test scripts written in YAML or JavaScript instead of a GUI
- load test a web app with real headless browsers using our existing Playwright tests
- run a distributed load test from our own AWS account on Lambda or Fargate without managing load generators
- load test a WebSocket or Socket.IO server with thousands of concurrent connections
- load test GraphQL and gRPC services as well as REST endpoints
- model realistic user flows with multi-step request chains and ramping arrival rates
- add a load test to our CI pipeline and fail the build when latency goes over a threshold
- send load test metrics to Datadog, Prometheus or another observability tool while the test runs
- share load test reports with the team and compare runs over time
- see Playwright end-to-end test results and Web Vitals for the whole team in one dashboard
- load test with Node.js and reuse any npm module in the test script
- spike test our checkout before a big sale with a ramp to peak traffic
- open source alternative to LoadRunner and BlazeMeter for API load testing
- load test from Azure Container Instances in our own Azure subscription
Features
- test scripts in YAML or JavaScript/TypeScript
- HTTP, GraphQL, WebSocket, Socket.IO, gRPC and Kinesis
- load testing with real headless browsers through Playwright
- distributed tests on AWS Lambda, AWS Fargate and Azure Container Instances
- load phases, arrival rates and request chains for workload modeling
- plugin API for extending and customizing tests
- publish-metrics plugin for OpenTelemetry, Datadog, Prometheus, New Relic, Honeycomb, Dynatrace, CloudWatch, Splunk and more
- 20+ integrations for monitoring, observability and CI/CD
- Artillery Cloud: hosted dashboard for load test and Playwright E2E reports
- Artillery Cloud: report sharing, custom charts and performance trends
View 2 more
- GitHub pull request comments
- runs on Windows, macOS and Linux with Node.js
Limitations
- Doesn't run distributed load tests on Kubernetes: distributed tests run on AWS Lambda, AWS Fargate or Azure Container Instances2
- Production use on Azure needs a commercial licence: the Azure-specific modules are under the Business Source License3
Ways to run it
Artillery CLI
Not included
- hosted dashboard for reports
- report sharing and performance trends
You arrange
- Node.js
- an AWS or Azure account for distributed tests
- a commercial licence for production use on Azure
Artillery Cloud
Free $0; Team $199/month; Business $499/month; 20% off billed annually; Enterprise add-ons from $1,199/month5
Only in this edition
- hosted dashboard for load test and Playwright E2E reports
- report sharing, custom charts and trends
- GitHub PR comments
- SSO and audit logs as Enterprise add-ons
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Artillery does.
- Gatling Modern load testing as code
- Grafana k6 Like unit testing, for performance
- Apache JMeter A 100% pure Java application designed to load test functional behavior and measure performance
- Locust An open source load testing tool: define user behaviour in plain Python and swarm your system with millions of simultaneous users
- Vegeta HTTP load testing tool and library built to drill HTTP services with a constant request rate
- oha HTTP load generator with a realtime terminal UI, inspired by hey
