qa / open source testing
Open Source Testing Tools: A Complete Free Stack
The open source testing tools for every layer (web, API, performance, BDD, security and accessibility), with the actual license of each one and where the free project ends and a paid cloud product begins. Licenses were read from each project's own LICENSE file.
You can build a professional testing stack without paying for a single license. Most of the widely used testing tools today, including Selenium, Playwright, JMeter and Cypress's test runner, are open source. That gives you more than a zero price. You can read the source when a test behaves strangely, check the issue tracker to see whether a bug is already known, and keep using the tool even if its company changes direction. "Open source" still covers a range of deals, though. Licenses differ in what they ask of you, and several projects are "open core": the tool is open, but the dashboard, cloud runner or analytics are paid. This guide gives you a tool for each layer, its real license, and the gotchas to know before your team commits.
01 · THE LICENSES
What each tool's license actually is
For most teams, all of these licenses allow free use in commercial work. The differences matter if you modify the tool itself or build a product on top of it. Some projects also have a paid hosted product from the same company. Cypress is the best-known example: the test runner is MIT-licensed, while Cypress Cloud is a separate service with a free Starter plan and paid tiers.
| Tool | Layer | License |
|---|---|---|
| Playwright | Web UI | Apache 2.0 |
| Selenium | Web UI | Apache 2.0 |
| Cypress | Web UI | MIT |
| Bruno | API client | MIT |
| Karate | API | MIT |
| REST Assured | API (Java) | Apache 2.0 |
| k6 | Performance | AGPL-3.0 |
| Apache JMeter | Performance | Apache 2.0 |
| Locust | Performance | MIT |
| Cucumber | BDD | MIT |
| Robot Framework | Acceptance | Apache 2.0 |
| ZAP | Security | Apache 2.0 |
| axe-core | Accessibility | MPL 2.0 |
02 · WEB AUTOMATION
Web and UI automation
All three major browser automation tools are open source, so choose on fit, not price. Playwright is a strong default for new projects: it waits for elements automatically, drives Chromium, Firefox and WebKit, and ships with a test runner and trace viewer. Selenium has the widest language support and is still common in job postings. Cypress gives JavaScript teams an excellent interactive runner. Its open source app runs your tests; Cypress Cloud, the hosted dashboard for recording and analyzing runs, is a separate product with a free Starter plan.
- Playwright ↗Microsoft's Apache 2.0 end-to-end framework, with auto-waiting, three browser engines and built-in tooling. Start with the installation guide.playwright.dev
- Selenium ↗The original open source browser automation project, with bindings for Java, Python, C#, JavaScript and Ruby.selenium.dev
- Cypress ↗An MIT-licensed test runner for end-to-end and component tests, with time-travel debugging in an interactive UI.docs.cypress.io
03 · API & PERFORMANCE
API and performance testing
Bruno is an open source API client that works offline and stores requests as plain files, so your API tests live in git next to your code. Karate combines API tests, mocks and performance tests in one readable syntax, and REST Assured is the standard Java library for testing REST services. For load testing, pick by language. k6 scripts are JavaScript, Locust scripts are Python, and JMeter is a mature GUI tool that many enterprises already run.
- Bruno ↗An MIT-licensed, offline-first API client that saves collections as files you can review and version in git.docs.usebruno.com
- Karate ↗MIT-licensed API test automation, mocks and performance testing in a readable, Gherkin-like syntax.github.com/karatelabs
- REST Assured ↗The Apache 2.0 Java DSL for REST API tests, usually paired with JUnit or TestNG.github.com/rest-assured
- k6 ↗Load testing scripted in JavaScript and run from the command line or CI. Licensed AGPL-3.0.grafana.com
- Apache JMeter ↗The long-established Apache 2.0 load testing tool, with a GUI for building test plans and a CLI for running them.jmeter.apache.org
- Locust ↗MIT-licensed load testing where user behavior is plain Python code.docs.locust.io
04 · BDD, SECURITY & ACCESSIBILITY
BDD, security and accessibility
Cucumber and Robot Framework let you write tests that non-programmers can read. Cucumber does it through plain-language Gherkin scenarios, and Robot Framework through keywords. For security, ZAP is the open source scanner most teams start with, and it can run in CI against a test environment. For accessibility, axe-core is the open source rules engine behind many accessibility tools, and you can call it directly from Playwright, Cypress or Selenium tests.
- Cucumber: 10-Minute Tutorial ↗The quickest way to write and run your first executable Gherkin specification.cucumber.io
- Robot Framework ↗A keyword-driven acceptance testing framework that is approachable for testers who don't code every day.robotframework.org
- ZAP: Getting Started ↗The open source web application security scanner, with a getting-started guide for your first scan.zaproxy.org
- axe-core ↗Deque's open source accessibility engine (MPL 2.0) for automated checks inside your existing UI tests.github.com/dequelabs
05 · CHOOSING WELL
How to judge an open source testing tool
Popularity alone is a weak signal. Before you adopt a tool, spend fifteen minutes on its repository and check four things. Is there a release in the last six months? Do maintainers respond to recent issues? Is the documentation current for the latest version? Is the license one your organization accepts? A tool that fails two of these will cost you more in workarounds than a paid tool would have.
06 · TRY IT
Assemble a zero-license stack in an afternoon
07 · FAQ
Frequently asked questions
What are the best open source testing tools?
For web UI testing, Playwright, Selenium and Cypress are all open source. For API testing, use Bruno, Karate or REST Assured. For load testing, use k6, JMeter or Locust. For security and accessibility checks, use ZAP and axe-core.
Is Playwright open source?
Yes. Playwright is open source under the Apache 2.0 license, which allows free commercial use. It is developed by Microsoft and published on GitHub.
Is Cypress free and open source?
The Cypress app that runs your tests is open source under the MIT license. Cypress Cloud, the hosted service for recording and analyzing test runs, is a separate product with a free Starter plan and paid tiers.
Can I use open source testing tools at work?
Usually yes. MIT and Apache 2.0 are permissive licenses that allow commercial use. Copyleft licenses such as the AGPL used by k6 add obligations if you modify and redistribute the tool, so check your company's policy before building on one.