Skip to Content
DocsGetting StartedWhy Artillery?
·

Why Artillery?

Artillery in a nutshell

Artillery is a performance testing toolkit. Use it to test whether applications stay fast and reliable under high load.

Artillery prioritizes developer productivity and includes tools for common testing tasks.

What’s different about Artillery?

Artillery supports testing across cloud regions, protocols, and application types. A distributed test runs across multiple workers. A plugin adds features to Artillery.

CI/CD automates code integration and delivery. Observability helps you understand system behavior from its outputs.

FeatureDescription
Test at cloud-scaleRun distributed tests across regions with AWS Lambda, AWS Fargate, or Azure Container Instances. You do not manage infrastructure.
Test any stackTest HTTP APIs, WebSocket and Socket.io services, or web applications with real browsers.
Built-in tools and integrationsUse extensions and plugins for common tasks and integrations with monitoring, observability, and CI/CD.
ExtensibleExtend Artillery and build custom integrations with Node.js.
Scalable and cost-efficientRun large-scale tests in your own AWS account with AWS Lambda or a serverless AWS Fargate cluster.
Permissive open sourceBuild on Artillery under the MPL-2.0 license.

What do we mean by “performance testing”?

Artillery runs tests that put load on a system and tests that make sure that the system works as expected.

Tests that put load on a system include load, stress, and soak tests. A load test measures performance under simulated traffic. A stress test pushes a system toward its limits. A soak test applies load over an extended period.

Continuous functional tests run repeatedly to test expected behavior. Other names include synthetic monitoring, semantic monitoring, production scripted testing, and continuous verification. These tests run against services and APIs to exercise key user workflows.

What kinds of services can I test with Artillery?

Backend systems process requests and data behind an application. Artillery can test any backend that communicates over a network. Examples include API services, e-commerce systems, chat services, game servers, databases, message brokers, and queues.

Artillery can test backends regardless of their protocol or programming language. It supports HTTP, WebSocket, and Socket.io by default. Plugins add support for protocols such as HLS, Kinesis, and Kafka. You can add other protocols through Artillery’s plugin interface.

Can I test web UIs with Artillery?

Yes. Artillery runs Playwright scripts as load tests or automated checks of user workflows.

Who uses Artillery?

Teams use Artillery to develop, test, and operate production backend systems. These teams include application developers, test and quality assurance (QA) engineers, operations staff, and site reliability engineers (SREs).

Typical usage scenarios

Service-level objectives (SLOs) define targets for service performance or reliability. Common uses for Artillery include:

  • Test individual APIs or services during development to find performance problems. These tests help identify memory leaks or code that uses too much CPU.
  • Test staging or feature environments in CI/CD to detect performance problems early and make sure that services meet SLOs.
  • Run large-scale tests before releasing a service or preparing for heavy traffic, such as Black Friday or Cyber Monday.
  • Add simulated traffic in production to maintain a safety margin against traffic spikes.
  • Monitor key API workflows from multiple locations to make sure that they work and raise alerts when they fail.

Features

Scenarios

A scenario is a sequence of actions. Scenarios describe user behavior with steps, transactions, loops, conditions, and custom JavaScript code. Artillery supports complex systems such as e-commerce backends, transactional APIs, IoT backends, chat services, and game servers. It also supports stateful services, which retain data between requests.

Load testing and smoke testing

A smoke test makes sure that basic functions work. You can reuse the same scenarios for load tests or functional tests. You can define expected responses and extract response data to use in later requests.

Batteries included

Artillery includes support for HTTP, Socket.io, and WebSockets. Plugins support other protocols and systems, including gRPC , Kafka , Kinesis , SQL , and Lambda .

Artillery includes monitoring integrations for Datadog, InfluxDB, and Statsd. Third-party plugins add support for other monitoring systems.

Extensible & hackable

Use Artillery’s extension APIs to add features with JavaScript. An engine adds support for a protocol or testing tool. Plugins can generate test data or connect to external systems. Reporters send metrics and test results to another location. Metrics are measurements of system behavior.

Artillery uses Node.js, so your plugins can reuse modules from npm.

Integrations and add-ons

Artillery includes plugins for common tasks. Community plugins provide more integrations.

See Integrations  for the full list of integrations and add-ons.

Designed for cross-team collaboration

Artillery uses YAML test scripts so that people across teams can read and contribute to tests. You do not need to know a specific programming language to understand these scripts.

Planet-scale testing

Artillery supports distributed tests with AWS Lambda, AWS Fargate, and Azure Container Instances. You can develop a test on a laptop and run it across regions with many workers in your team’s AWS account. You do not manage the infrastructure.


Ecosystem

Artillery consists of Artillery CLI and Artillery Dashboard. A CLI is a command-line interface. Use Artillery CLI to write and run load tests. It includes distributed testing with AWS Lambda, AWS Fargate, and Azure Container Instances without managing servers.

Artillery Dashboard  is a hosted dashboard for visual reports, collaboration, and performance analysis. It supports teams that run load tests frequently.

Our philosophy

Our mission is to help development teams ship performant, resilient, and scalable software systems.

Software is eating the world

We believe that software is eating the world . Complex software systems underpin all aspects of our daily lives. There are no industries that don’t rely on software anymore - hundreds of software systems were involved in getting your breakfast cereal to your cupboard for example.

At the same time, software systems are only getting more complex, and complexity is the enemy of performance and reliability. As our dependence on software system grows, the importance of shipping performant and reliable software grows along with it.

Performance is a feature

We believe that performance is a feature. Software which is fast and reliable makes for happier users, and happier users make for more revenue.

We believe that performance is everyone’s job and requires cross-functional collaboration between product owners, developers, QA engineers, ops & SREs.

Developer productivity above all

Artillery prioritizes developer productivity above everything else. We believe that performance tests should be as easy to write and run as possible. Every product decision in Artillery is viewed through the lens of developer experience and a batteries-included philosophy.

Last updated on