Karate DSL logo

Karate DSL

Open Source Web-Services Test Automation Framework
+ 1

What is Karate DSL?

Combines API test-automation, mocks and performance-testing into a single, unified framework. The BDD syntax popularized by Cucumber is language-neutral, and easy for even non-programmers. Besides powerful JSON & XML assertions, you can run tests in parallel for speed - which is critical for HTTP API testing.
Karate DSL is a tool in the Testing Frameworks category of a tech stack.
Karate DSL is an open source tool with 3.2K GitHub stars and 858 GitHub forks. Here鈥檚 a link to Karate DSL's open source repository on GitHub

Who uses Karate DSL?

5 companies reportedly use Karate DSL in their tech stacks, including Intuit, KocSistem, and Deutsche Kreditbank AG.

44 developers on StackShare have stated that they use Karate DSL.

Karate DSL Integrations

JavaScript, Java, Visual Studio Code, IntelliJ IDEA, and Eclipse are some of the popular tools that integrate with Karate DSL. Here's a list of all 9 tools that integrate with Karate DSL.
Public Decisions about Karate DSL

Here are some stack decisions, common use cases and reviews by companies and developers who chose Karate DSL in their tech stack.

Peter Thomas
Peter Thomas
Distinguished Engineer at Intuit | 17 upvotes 101.2K views
Shared insights
Karate DSLKarate DSLGitGit

Karate DSL is extremely effective in those situations where you have a microservice still in development, but the "consumer" web-UI dev team needs to make progress. Just create a mock definition (feature) file, and since it is plain-text - it can easily be shared across teams via Git. Since Karate has a binary stand-alone executable, even teams that are not familiar with Java can use it to stand-up mock services. And the best part is that the mock serves as a "contract" - which the server-side team can use to practice test-driven development.

See more
Peter Thomas
Peter Thomas
Distinguished Engineer at Intuit | 9 upvotes 47.7K views

As the maintainer of the Karate DSL open-source project - I found Travis CI very easy to integrate into the GitHub workflow and it has been steady sailing for more than 2 years now ! It works well for Java / Apache Maven projects and we were able to configure it to use the latest Oracle JDK as per our needs. Thanks to the Travis CI team for this service to the open-source community !

See more

Karate DSL's Features

  • Native support for both JSON and XML
  • Powerful payload assertions with "deep-equals"
  • Data-driven testing
  • Easy even for non-programmers
  • Embedded JavaScript engine
  • Test-doubles or HTTP mocking built-in
  • Re-use test scripts as performance-tests
  • Environment switching
  • Comprehensive reports, supported by all CI tools

Karate DSL Alternatives & Comparisons

What are some alternatives to Karate DSL?
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.
Amazon API Gateway
Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management.
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
Behaviour Driven Development for Ruby. Making TDD Productive and Fun.
See all alternatives

Karate DSL's Followers
84 developers follow Karate DSL to keep up with related blogs and decisions.
Nilesh Patil
Lokesh DG
Abhishek Deshpande
dg dg10
Fahd Malik
Chris Western
Mike Cahill