Karate v2 is a complete rewrite of Karate, the popular open-source test automation framework. It combines API testing, mocking, and performance testing into a single, unified tool.
Karate v1 supports web-browser automation, and this will be eventually added to v2 as well.
| Module | Description |
|---|---|
| karate-js | Lightweight JavaScript engine for the JVM with thread-safe concurrent execution |
| karate-core | Core testing framework with HTTP client/server, templating, and match assertions |
- API Test Automation - Write expressive tests in Gherkin syntax with powerful JSON and XML assertions
- Mock Servers - Built-in HTTP server for API mocking with dynamic responses
- Performance Testing - Scale from functional tests to load tests seamlessly
- HTML Templating - Thymeleaf-based templating with HTMX and AlpineJS support
- Thread-Safe JavaScript - Custom JS engine designed for parallel test execution
- Java 21+ - Built on modern Java with virtual threads and latest language features
- Java 21 or higher
Coming soon.
- Design Principles - Core principles guiding v2 development
- Roadmap - Development roadmap and task tracker
- Capabilities - Full taxonomy of features
- Contributing - How to contribute
Karate v2 maintains backwards compatibility with 1.x features. If you're migrating from 1.x, most of your existing tests should work with minimal changes.
Migration guide coming soon. This repository will be folded into the primary github.com/karatelabs/karate location when Karate v2 is generally available.
- Karate CLI - Command-line interface for non-Java environments
- Karate Xplorer - Desktop IDE for Karate
Karate v2 is developed by Karate Labs Inc. with contributions from the community.
We invite enterprise users of Karate to review, influence the direction, and contribute to this project.