bug_report
QA 23Lab
NEWS • GUIDES • LEARNING
Tools / API Testing / Postman
PM

Postman

Freemium API Testing

API development and testing platform with collections, environments, and Newman

business Postman Inc. star 4.7 (3.1k reviews) download 8.2M downloads trending_up Updated 2 weeks ago
8.2M
Weekly Downloads
4.7
Rating (3.1k reviews)
500+
Integrations
25M+
Total Users

description Overview

Postman is the world's leading API development platform, used by over 25 million developers and 500,000 organizations worldwide. It provides a comprehensive suite of tools for designing, testing, documenting, and monitoring APIs.

With Postman, QA engineers can create and run automated API tests, generate documentation, mock API responses, and integrate with CI/CD pipelines using Newman, the command-line collection runner.

stars Key Features

check_circle
API Client

Send requests and inspect responses

check_circle
Collections

Organize and share API requests

check_circle
Environments

Manage variables across stages

check_circle
Automated Testing

Write tests in JavaScript

check_circle
Newman

CLI runner for CI/CD integration

check_circle
Mock Servers

Simulate API responses

check_circle
API Documentation

Auto-generate docs from collections

check_circle
AI Assistant

Postbot for API help

check_circle
Workspaces

Team collaboration

check_circle
Monitoring

API performance tracking

terminal Installation & Usage

NEWMAN CLI Runner
# Install Newman globally
npm install -g newman
# Run a collection
newman run my-collection.json -e my-environment.json
# Run with environment variables
newman run my-collection.json --env-var "baseUrl=https://api.example.com"
# Generate HTML report
newman run my-collection.json --reporters html --reporter-html-export report.html
API TEST JavaScript Tests in Postman
// Postman test script for an API endpoint
// Run after a request is made
// Check status code
pm.test("Status code is 200", () => {
  pm.response.to.have.status(200);
});
// Validate response body
pm.test("Response has user data", () => {
  const jsonData = pm.response.json();
  pm.expect(jsonData).to.have.property('id');
  pm.expect(jsonData).to.have.property('email');
});
// Validate response time
pm.test("Response time is less than 500ms", () => {
  pm.expect(pm.response.responseTime).to.be.below(500);
});
// Check headers
pm.test("Content-Type is JSON", () => {
  pm.response.to.have.header('Content-Type');
  pm.expect(pm.response.headers.get('Content-Type'))
    .to.include('application/json');
});
// Save response data to environment variable
const jsonData = pm.response.json();
pm.environment.set('userId', jsonData.id);

history Version History

v11.0.0 Oct 2024 — New AI Assistant, improved debugging
v10.0.0 Jun 2024 — GraphQL support, enhanced team workspaces
v9.0.0 Mar 2024 — Performance improvements, new UI
v8.0.0 Dec 2023 — API security scanning, gRPC support
v7.0.0 Sep 2023 — WebSocket support, dark mode

settings System Requirements

Platform Windows, macOS, Linux
Desktop App Windows 10+, macOS 11+, Linux
Web Version Modern browsers (Chrome, Firefox, Edge)
CLI (Newman) Node.js 16+

chat Community Reviews

JD
John Doe
star 5 • QA Lead at TechCorp

"Postman has revolutionized our API testing workflow. The collection runner and Newman integration with our CI/CD pipeline saved us countless hours."

SM
Sarah Miller
star 4 • SDET at CloudFlow

"Great tool for API testing. The environment variables and pre-request scripts make it easy to handle complex authentication flows."

AK
Alex Kim
star 5 • API Engineer at DataHub

"The automated testing capabilities are fantastic. We've been able to create comprehensive test suites that run on every deployment."

apps Similar Tools

API Testing
Insomnia
★ 4.4
API Testing
SoapUI
★ 4.0
API Testing
Bruno
★ 4.6