Softwr

Testing · head to head

Artillery vs Locust

Artillery logo

Artillery

Testing

Open-source load testing and Playwright E2E toolkit with a paid cloud dashboard

From
Free
Free plan
Yes
Locust logo

Locust

Testing

Open-source load testing tool where scenarios are written in plain Python

From
Free
Free plan
Yes

The short version

  • Artillery is a load testing and Playwright E2E toolkit; Locust is an MIT-licensed load testing tool.
  • Locust is free; Artillery starts at $199/mo.
  • Only Artillery lists scalable Playwright E2E runs; only Locust lists test scenarios written in Python.
  • Where Artillery falls short: cloud plans cap monthly test reports, from 30 on the free tier.
  • Where Locust falls short: scenarios must be written in Python; there is no graphical recorder.

How do Artillery and Locust differ?

Artillery and Locust differ on platforms (Web against API). Only the attributes on which Artillery and Locust actually diverge.

Attributes where Artillery and Locust differ
AttributeArtilleryLocust
PlatformsWebAPI

Identical on both: starting price (Free), pricing model (Open-source), free tier (Yes).

Not yet recorded: category for Artillery.

Which features does each one have?

They share no listed features; 8 appear only for Artillery and 8 only for Locust. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Artillery

  • Load testing from YAML and JavaScript scripts
  • Playwright-native load testing
  • Scalable Playwright E2E runs
  • Distributed tests on AWS and Azure
  • Web Vitals reporting
  • Synthetic checks and monitoring
  • Shared reports and custom charts
  • HTTP, GraphQL and Socket.IO support

Only in Locust

  • Test scenarios written in Python
  • Distributed load generation
  • Real-time web UI
  • Headless mode for CI/CD
  • Lightweight greenlet users on gevent
  • Extensible with custom load shapes and reporting
  • VS Code extension
  • Azure Load Testing support

What is each one used for?

Artillery is most often brought in for API and GraphQL load testing; Locust for load testing web APIs. The jobs each tool is most often brought in to do.

Artillery

  • API and GraphQL load testingnot Locust
  • Browser load tests reusing Playwright scriptsnot Locust
  • Distributed load tests on your own AWS or Azure accountnot Locust
  • Playwright E2E reporting in CInot Locust
  • Continuous synthetic monitoringnot Locust

Locust

  • Load testing web APIsnot Artillery
  • Stress testing websitesnot Artillery
  • CI performance checksnot Artillery
  • Simulating user behaviour as codenot Artillery

Where do Artillery and Locust fall short?

Artillery's most cited limit: cloud plans cap monthly test reports, from 30 on the free tier. Locust's: scenarios must be written in Python; there is no graphical recorder. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Artillery

  • Cloud plans cap monthly test reports, from 30 on the free tier
  • Free cloud tier limits tests to 30 minutes and 5 workers
  • Enterprise SSO and audit logs cost from $1,199 a month
  • Test authoring is scripted, with no recorder or GUI test builder

Locust

  • Scenarios must be written in Python; there is no graphical recorder
  • Built mainly for HTTP; other protocols need custom code
  • Hosted runs and support come from the separate Locust.cloud service
  • Large tests need several machines configured for distributed mode

How much do Artillery and Locust cost?

Artillery has a free plan, with paid plans from $199/mo; Locust is free to use. Plan by plan below, from each vendor's own pricing page.

Artillery

Free
  • FreeFree
    • 30 reports a month
    • 2 team members
    • 1 month data retention
  • Team$199/mo
    • 1,000 reports a month
    • 8 team members
    • 6 months retention
  • Business$499/mo
    • 2,500 reports a month
    • Unlimited team members
    • 18 months retention

Locust

Free

No published plan breakdown. See the Locust review.

Which should you pick?

Choose Artillery if

  • You need load testing from yaml and javascript scripts.
  • You want to start without paying.
  • You also want playwright-native load testing.

Choose Locust if

  • You need test scenarios written in python.
  • You want to start without paying.
  • You work on API.
  • You also want distributed load generation.

Questions people ask

Is Artillery or Locust better?
It depends on the job. Artillery fits aPI and GraphQL load testing; Locust fits load testing web APIs. Artillery starts at Free and Locust at Free.
Which is cheaper, Artillery or Locust?
Artillery starts at Free and Locust at Free.
Does Artillery or Locust run on more platforms?
Artillery runs on Web. Locust runs on API.
Can I use Artillery for free?
Both have a free tier, so you can try either at no cost before committing.
What is Artillery best used for?
Artillery is most often used for api and graphql load testing, browser load tests reusing playwright scripts, distributed load tests on your own aws or azure account, playwright e2e reporting in ci. Of those, api and graphql load testing and browser load tests reusing playwright scripts are not what Locust is typically brought in for.
What can Artillery do that Locust cannot?
Artillery covers Load testing from YAML and JavaScript scripts, Playwright-native load testing, Scalable Playwright E2E runs, Distributed tests on AWS and Azure. Locust covers Test scenarios written in Python, Distributed load generation, Real-time web UI, Headless mode for CI/CD.

Answered from the vendors’ own pages

Artillery: Is Artillery free?

The Artillery CLI is open source under the MPL-2.0 licence, and Artillery Cloud has a free tier with 30 reports a month.

Source
Locust: What licence does Locust use?

The GitHub repository states the MIT licence.

Source
Artillery: What can Artillery test?

HTTP APIs, GraphQL services, Socket.IO apps and more, plus Playwright browser tests.

Source
Locust: How do I install it?

Install from PyPI with pip install locust and run locust -f locustfile.py.

Source
Artillery: Where do distributed tests run?

On Artillery's cloud runners or on your own AWS or Azure account.

Source
Locust: Does it support distributed testing?

Yes, load can be spread across multiple machines.

Source
Artillery: How much do paid plans cost?

Team is $199 a month and Business is $499 a month, with 20 percent off for annual billing.

Source
Share

Related pages

Other head to heads