PactumJS logo

PactumJS

REST API testing tool for Node.js that supports e2e, integration, contract and component tests with a chainable fluent syntax.

-

Our Verdict

A solid all-in-one REST testing kit for Node.js if you want more than Supertest without adopting Postman.

Pros

  • Unified API for e2e, contract, and component tests
  • Chainable fluent syntax reads cleanly
  • Built-in data management and mock server
  • No extra runners needed beyond Mocha/Jest

Cons

  • Smaller community than Supertest or Postman
  • Node.js only, not a polyglot tool
  • Documentation gaps on advanced patterns
Best for: Node.js teams wanting contract plus integration tests in one library Not for: Polyglot shops needing a tool that works beyond JavaScript

When to Use PactumJS

Good fit if you need

  • End-to-end and contract tests for Node.js REST APIs
  • Chainable fluent syntax for complex HTTP test scenarios
  • Component test isolation with mock server integration
  • Store and reuse data across test steps with variables

Lock-in Assessment

High 5/5
Lock-in Score
5/5

PactumJS Pricing

Pricing Model
free
Free Tier
Yes
Entry Price
Enterprise Available
No
Transparency Score

Beta — estimates may differ from actual pricing

1,000
1001K10K100K1M

Estimated Monthly Cost

$25

Estimated Annual Cost

$300

Estimates are approximate and may not reflect current pricing. Always check the official pricing page.

Project Health

C

Health Score

611 61
Bus Factor

2

Last Commit

7 days

Release Freq

111d

Open Issues

17

Issue Response

N/A

License

MIT

Last checked: 2026-04-21

Community Discussion

Comments powered by Giscus (GitHub Discussions). You need a GitHub account to comment.