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

Karate DSL

143
262
+ 1
85
Postman

89K
75.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 路 352.2K 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
Sadik Ay
Recommends
on
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

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
Decisions about Karate DSL and Postman
Stephen Fox
Artificial Intelligence Fellow | 1 upvote 路 312K 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
    Very fast api testing tool
  • 5
    Comprehensive documentation and examples
  • 4
    Powerful and flexible payload assertions
  • 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
  • 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
    Optionally mix re-usable JavaScript logic into scripts
  • 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
    Websockets support
  • 0
    Rest assured
  • 489
    Easy to use
  • 369
    Great tool
  • 276
    Makes developing rest api's easy peasy
  • 156
    Easy setup, looks good
  • 144
    The best api workflow out there
  • 53
    History feature
  • 53
    It's the best
  • 44
    Adds real value to my workflow
  • 43
    Great interface that magically predicts your needs
  • 35
    The best in class app
  • 12
    Can save and share script
  • 10
    Fully featured without looking cluttered
  • 8
    Global/Environment Variables
  • 8
    Collections
  • 8
    Option to run scrips
  • 7
    Shareable Collections
  • 7
    Dead simple and useful. Excellent
  • 7
    Dark theme easy on the eyes
  • 6
    Great integration with newman
  • 6
    Awesome customer support
  • 5
    Simple
  • 5
    The test script is useful
  • 5
    Documentation
  • 4
    Saves responses
  • 4
    Easy as pie
  • 4
    Makes testing API's as easy as 1,2,3
  • 4
    This has simplified my testing significantly
  • 3
    API-network
  • 3
    Mocking API calls with predefined response
  • 3
    I'd recommend it to everyone who works with apis
  • 2
    Runner
  • 2
    Easy to setup, test and provides test storage
  • 2
    Postman Runner CI Integration
  • 2
    Graph
  • 2
    Now supports GraphQL
  • 2
    Continuous integration using newman
  • 2
    Pre-request Script and Test attributes are invaluable
  • 1
    <a href="http://fixbit.com/">useful tool</a>

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
  • 10
    Stores credentials in HTTP
  • 9
    Bloated features and UI
  • 8
    Cumbersome to switch authentication tokens
  • 7
    Poor GraphQL support
  • 5
    Expensive
  • 3
    Not free after 5 users
  • 3
    Can't prompt for per-request variables
  • 1
    Import swagger
  • 1
    Support websocket
  • 1
    Import curl

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.
pytest
A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool.
See all alternatives