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

Newman

81
91
+ 1
0
Postman

92K
78.7K
+ 1
1.8K
Add tool

Newman vs Postman: What are the differences?

Key Differences between Newman and Postman

1. Testing platform: Postman is primarily a testing platform for API development and testing, providing a user-friendly interface for creating, managing, and executing API requests. Newman, on the other hand, is a command-line collection runner for Postman, allowing users to run Postman collections using scripts or integration with continuous integration servers.

2. User interface: Postman offers a comprehensive user interface with features like request builder, response viewer, test editor, and collaborative tools for team collaboration. Newman, being a command-line tool, does not have a graphical user interface and is focused solely on running collections using commands.

3. Automation capability: Postman allows users to write test scripts using JavaScript to automate the testing process. It offers a robust scripting environment with features like variables, environment management, pre and post-request scripts, and assertions. Newman is designed specifically for automation purposes and can be integrated into CI/CD pipelines for running Postman collections programmatically.

4. Command-line interface: While Postman primarily relies on its graphical user interface, Newman allows users to run collections through the command-line interface. This command-line interface provides more flexibility, enabling automation and integration with other tools and systems.

5. Continuous Integration/Continuous Delivery (CI/CD) integration: Postman provides integration with popular CI/CD platforms like Jenkins, Travis CI, and TeamCity through plugins and extensions. Newman, being a command-line tool, can be easily integrated into CI/CD pipelines using shell scripts or other methods.

6. Team collaboration: Postman offers collaboration features like team workspaces, shared collections, version control, and history tracking, allowing multiple users to work on API development and testing together. Newman, being focused on automation, does not include these collaboration features and is more suited for individual test execution.

In summary, Postman is a comprehensive API testing platform with a graphical user interface, collaboration features, and the ability to run collections through the interface. Newman, on the other hand, is a command-line tool specifically designed for automation and integration with CI/CD pipelines, providing more flexibility and scalability for running Postman collections programmatically.

Advice on Newman 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 · 372.4K 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
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
Decisions about Newman and Postman
Stephen Fox
Artificial Intelligence Fellow · | 1 upvote · 329.7K 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 Newman
Pros of Postman
    Be the first to leave a pro
    • 490
      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
      It's the best
    • 53
      History feature
    • 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
      Collections
    • 8
      Option to run scrips
    • 8
      Global/Environment Variables
    • 7
      Shareable Collections
    • 7
      Dead simple and useful. Excellent
    • 7
      Dark theme easy on the eyes
    • 6
      Awesome customer support
    • 6
      Great integration with newman
    • 5
      Documentation
    • 5
      Simple
    • 5
      The test script is useful
    • 4
      Saves responses
    • 4
      This has simplified my testing significantly
    • 4
      Makes testing API's as easy as 1,2,3
    • 4
      Easy as pie
    • 3
      API-network
    • 3
      I'd recommend it to everyone who works with apis
    • 3
      Mocking API calls with predefined response
    • 2
      Now supports GraphQL
    • 2
      Postman Runner CI Integration
    • 2
      Easy to setup, test and provides test storage
    • 2
      Continuous integration using newman
    • 2
      Pre-request Script and Test attributes are invaluable
    • 2
      Runner
    • 2
      Graph
    • 1
      <a href="http://fixbit.com/">useful tool</a>

    Sign up to add or upvote prosMake informed product decisions

    Cons of Newman
    Cons of Postman
      Be the first to leave a con
      • 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

      - No public GitHub repository available -

      What is Newman?

      Newman is a command-line collection runner for Postman. It allows you to effortlessly run and test a Postman collection directly from the command-line. It is built with extensibility in mind so that you can easily integrate it with your continuous integration servers and build systems.

      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 Newman?
      What companies use Postman?
      See which teams inside your own company are using Newman 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 Newman?
      What tools integrate with Postman?

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

      What are some alternatives to Newman and Postman?
      Insomnia REST Client
      Insomnia is a powerful REST API Client with cookie management, environment variables, code generation, and authentication for Mac, Window, and Linux.
      RestSharp
      It is probably the most popular HTTP client library for .NET. Featuring automatic serialization and deserialization, request and response type detection, variety of authentications and other useful features
      OpenAPI
      It is a publicly available application programming interface that provides developers with programmatic access to a proprietary software application or web service.
      Retrofit
      Retrofit turns your HTTP API into a Java interface
      OpenAPI Specification
      It defines a standard, language-agnostic interface to RESTful APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.
      See all alternatives