A CLI and HTTP server that turns OpenAPI v2/v3 and Postman Collection files into mock APIs with request validation and a validation proxy.
karatelabs/karate
Open-source framework that combines API testing, mock servers, performance testing and UI automation in one tool.
Open-source alternative to:Postman
- Stars
- 8,996
- Forks
- 2,049
- Open issues
- 0
- Last commit
- 2 days ago
What is it?
Karate is a test automation framework that brings API testing, mock services, performance (load) testing and browser UI automation under a single tool. Tests are written in Karate's own readable syntax, so teams can cover HTTP APIs and user flows without assembling separate libraries for each job.
The project is built on Java and is aimed at developers and QA engineers who test microservices and REST APIs. Its topics point to support for BDD and Cucumber-style workflows, WebDriver-based browser automation, contract testing, and mock servers for simulating dependencies.
The repository is in the middle of a v2 development cycle, and the README is a short landing page that points to the online documentation and a separate v2 notes file for module descriptions and migration details.
Key features
- 01Write API tests in a readable, Gherkin-style syntax
- 02Run mock servers to simulate dependent services
- 03Perform performance and load testing with the same test scripts
- 04Automate browser UI flows through WebDriver integration
- 05Support BDD and Cucumber-style test organization
Use cases
- Testing REST APIs and microservices end to end
- Stubbing downstream services during integration tests
- Running load tests on existing API test suites
- Combining API and browser checks in one test project
Things to know
- The README mentions a v2 under development with migration notes, so v2 may involve breaking changes compared with v1.5.x.
In collections
Topics
FAQ
- What is karate?
- Open-source framework that combines API testing, mock servers, performance testing and UI automation in one tool. Karate is a test automation framework that brings API testing, mock services, performance (load) testing and browser UI automation under a single tool. Tests are written in Karate's own readable syntax, so teams can cover HTTP APIs and user flows without assembling separate libraries for each job.
- Is karate free to use? What license does it have?
- karate is open source under the MIT license. Check the license terms before using it in commercial products.
- Is karate still maintained?
- Actively maintained. The last commit to karate was on Oct 23, 2026.
- What can I use karate for?
- Testing REST APIs and microservices end to end Stubbing downstream services during integration tests Running load tests on existing API test suites Combining API and browser checks in one test project
- Where can I get karate?
- The source code and installation instructions are on GitHub: https://github.com/karatelabs/karate
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A lightweight, local-first API debugging client built with Rust and Tauri 2, positioned as a Postman alternative at about 10 MB.
Open-source API and integration testing tool that records real traffic via eBPF and replays it as tests and data mocks, with no code changes.
A curated awesome-list of HTTP(S) benchmarking, load testing, debugging and REST API client tools, with short notes on each.
Open-source AI testing agent that turns Gherkin feature files into automated end-to-end browser, API, security, accessibility and visual tests.
Open-source Java application for load testing and measuring the performance of web applications and other services.