Need advice about which tool to choose?Ask the StackShare community!

Karate DSL

138
243
+ 1
85
Postman

80.4K
67.8K
+ 1
1.8K
Add tool

Karate DSL vs Postman: What are the differences?

Karate DSL: Open Source Web-Services Test Automation Framework. 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; Postman: Only complete API development environment. Postman is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.

Karate DSL belongs to "Testing Frameworks" category of the tech stack, while Postman can be primarily classified under "API Tools".

Some of the features offered by Karate DSL are:

  • Native support for both JSON and XML
  • Powerful payload assertions with "deep-equals"
  • Data-driven testing

On the other hand, Postman provides the following key features:

  • Compact layout
  • HTTP requests with file upload support
  • Formatted API responses for JSON and XML

"Easy CI integration via cross-platform executable / CLI" is the top reason why over 2 developers like Karate DSL, while over 464 developers mention "Easy to use" as the leading cause for choosing Postman.

Karate DSL is an open source tool with 2.12K GitHub stars and 526 GitHub forks. Here's a link to Karate DSL's open source repository on GitHub.

Advice on Karate DSL and Postman
Needs advice
on
PostmanPostmanApiaryApiary
and
Swagger UISwagger UI

From a StackShare Community member: "I just started working for a start-up and we are in desperate need of better documentation for our API. Currently our API docs is in a README.md file. We are evaluating Postman and Swagger UI. Since there are many options and I was wondering what other StackSharers would recommend?"

See more
Replies (3)
Jagdeep Singh
Tech Lead at ucreate.it | 8 upvotes 路 294.3K views

I use Postman because of the ease of team-management, using workspaces and teams, runner, collections, environment variables, test-scripts (post execution), variable management (pre and post execution), folders (inside collections, for better management of APIs), newman, easy-ci-integration (and probably a few more things that I am not able to recall right now).

See more

I use Swagger UI because it's an easy tool for end-consumers to visualize and test our APIs. It focuses on that ! And it's directly embedded and delivered with the APIs. Postman's built-in tools aren't bad, but their main focus isn't the documentation and also, they are hosted outside the project.

See more
Sadik Ay
Recommends
PostmanPostman

I recommend Postman because it's easy to use with history option. Also, it has very great features like runner, collections, test scripts runners, defining environment variables and simple exporting and importing data.

See more
Decisions about Karate DSL and Postman
Stephen Fox
Artificial Intelligence Fellow | 1 upvote 路 262.4K views

Postman supports automation and organization in a way that Insomnia just doesn't. Admittedly, Insomnia makes it slightly easy to query the data that you get back (in a very MongoDB-esque query language) but Postman sets you up to develop the code that you would use in development/testing right in the editor.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Karate DSL
Pros of Postman
  • 11
    Easy CI integration via cross-platform executable / CLI
  • 9
    Easy for even non-programmers to get started
  • 9
    Simple and meaningful asserts for large responses
  • 7
    Data-driven tests that can even use JSON or CSV sources
  • 5
    Easy parameterized configuration / custom variables
  • 5
    Comprehensive documentation and examples
  • 5
    Very fast api testing tool
  • 4
    Simple, concise, readable and maintainable tests
  • 4
    Easy re-use of JSON or JS / Java logic across tests
  • 4
    IDE support - IntelliJ, Eclipse & Visual Studio Code
  • 4
    Powerful and flexible payload assertions
  • 3
    Best option for testing GraphQL
  • 3
    Java-interop so you never "hit a wall" in the framework
  • 2
    Simple yet flexible Environment Switching built-in
  • 1
    Parallel Execution with Reports Aggregated
  • 1
    Active, Responsive community on Stack Overflow
  • 1
    Re-use functional tests as performance tests
  • 1
    Super simple API mocking, within the firewall
  • 1
    XML support, not just JSON
  • 1
    Developer-friendly collaboration via standard SCM / Git
  • 1
    Rich HTML reports with HTTP logs in-line
  • 1
    Great Developer-Experience - Debug UI, HTML reports
  • 1
    Optionally mix re-usable JavaScript logic into scripts
  • 1
    Websockets support
  • 0
    Rest assured
  • 488
    Easy to use
  • 369
    Great tool
  • 274
    Makes developing rest api's easy peasy
  • 155
    Easy setup, looks good
  • 143
    The best api workflow out there
  • 53
    It's the best
  • 53
    History feature
  • 44
    Adds real value to my workflow
  • 42
    Great interface that magically predicts your needs
  • 34
    The best in class app
  • 11
    Can save and share script
  • 9
    Fully featured without looking cluttered
  • 7
    Collections
  • 7
    Option to run scrips
  • 7
    Global/Environment Variables
  • 6
    Dead simple and useful. Excellent
  • 6
    Shareable Collections
  • 6
    Dark theme easy on the eyes
  • 5
    Awesome customer support
  • 5
    Great integration with newman
  • 4
    Simple
  • 4
    The test script is useful
  • 4
    Documentation
  • 3
    Easy as pie
  • 3
    Saves responses
  • 3
    Makes testing API's as easy as 1,2,3
  • 3
    This has simplified my testing significantly
  • 2
    API-network
  • 2
    I'd recommend it to everyone who works with apis
  • 2
    Mocking API calls with predefined response
  • 1
    Easy to setup, test and provides test storage
  • 1
    Graph
  • 1
    Postman Runner CI Integration
  • 1
    Now supports GraphQL
  • 1
    Continuous integration using newman
  • 1
    Pre-request Script and Test attributes are invaluable
  • 0
    <a href="http://fixbit.com/">useful tool</a>
  • 0
    Runner

Sign up to add or upvote prosMake informed product decisions

Cons of Karate DSL
Cons of Postman
  • 1
    Ode support becomes very time consuming and expensive b
  • 1
    Finding errors in code is not easy
  • 1
    There is no IntelliSense support in IDE
  • 1
    Karate uses its own scripting language
  • 1
    Complex folder structure, without a defined pattern
  • 1
    Confusing report: Summarized by steps and not by featur
  • 9
    Bloated features and UI
  • 9
    Stores credentials in HTTP
  • 8
    Cumbersome to switch authentication tokens
  • 7
    Poor GraphQL support
  • 5
    Expensive
  • 3
    Can't prompt for per-request variables
  • 3
    Not free after 5 users
  • 1
    Import curl
  • 1
    Import swagger
  • 1
    Support websocket

Sign up to add or upvote consMake informed product decisions

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.

What is Postman?

It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Karate DSL?
What companies use Postman?
See which teams inside your own company are using Karate DSL or Postman.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Karate DSL?
What tools integrate with Postman?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Karate DSL and Postman?
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
JUnit
JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
xUnit
It is a free, open source, community-focused unit testing tool for the .NET Framework. It is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. It works with ReSharper, CodeRush, TestDriven.NET and Xamarin.
Moq
It is a mocking library for .NET developed from scratch to take full advantage of .NET Linq expression trees and lambda expressions, which makes it the most productive, type-safe and refactoring-friendly mocking library available. And it supports mocking interfaces as well as classes.
Mockito
It is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. It doesn鈥檛 give you hangover because the tests are very readable and they produce clean verification errors.
See all alternatives