Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

PactumJS

Free#23 of 33 in API Testing Tools

PactumJS: A focused JavaScript library for API, contract, mock, and integration testing. Ranked #23 of 33 in API Testing Tools by our editors (6.9/10); pricing: Free plan; best for javaScript teams needing contract and mock testing.

6.9/10Editor score
PactumJS6.9 Visit PactumJS

At a glance

  • Editor score
    6.9 / 10
  • Pricing
    Free plan
  • Best for
    JavaScript teams needing contract and mock testing
  • Free plan
    Yes
  • Paid from
    Free
  • Facts checked
    21 Sep 2026
PactumJS screenshot
  • Where it wins

    • HTTP assertions, dependent calls, retries, and end-to-end flows
    • Bidirectional contracts, component testing, mocks, and fuzz testing
    • Integrates with npm, Mocha, Jest, Jasmine, and Cucumber
  • Where it doesn't

    • Focused on REST API testing and Node.js environments
    • No built-in AI features
    • Library-centered rather than a broader managed testing platform

Our verdict on PactumJS

PactumJS is a free, open-source Node.js library for testing REST APIs. It is aimed at developers, QA engineers, and SDETs who want one JavaScript-oriented toolkit for API, integration, end-to-end, component, contract, mock, and fuzz testing. Distributed through npm under the MIT License, it fits teams that prefer adding API checks to an existing test-code workflow rather than adopting a separate hosted testing application.

Its strongest area is the range of testing patterns available in one library. PactumJS supports HTTP request construction and response assertions, dependent API calls, request retrying, end-to-end steps with cleanup actions, and component testing for backend services. Contract coverage includes bidirectional testing through flows and interactions, with request and response matching also available for mocks and contract tests. A standalone HTTP/HTTPS mock server extends that scope beyond assertions, while fuzz testing adds another way to examine API behavior.

The ecosystem fit is clear for JavaScript teams: PactumJS is an npm package and integrates with Mocha, Jest, Jasmine, and Cucumber. Its documented focus remains REST APIs and Node.js, so teams working across other protocols or seeking a broad, managed automation platform may need a different approach. There are also no built-in AI features. Choose PactumJS when open-source, code-based testing and contract or mock coverage are priorities; consider an alternative when you need wider protocol coverage or platform-led test management.

Your product? Our editors can test PactumJS in depth and publish a review, labelled as paid · from $149/mo →

PactumJS pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on pactumjs.github.io

PactumJS fact sheet

Free planYes
Paid fromFree
GraphQL supportYes
SOAP supportNot verified
Scheduled runsNot verified
CI/CD integrationYes
Mock serverYes
Contract testingYes
Included requestsNot verified
DeploymentSelf-hosted
SupportCommunity, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations3 integrations: Mocha, Jest, Cucumber
PricingFree plan
Websitepactumjs.github.io
Facts checked21 Sep 2026

PactumJS integrations

PactumJS lists 3 integrations on its own site.

  • Mocha
  • Jest
  • Cucumber

Alternatives to PactumJS

See all PactumJS alternatives →

Used PactumJS? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used PactumJS for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — PactumJS 6.9/10

PactumJS is listed in our API Testing Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/pactumjs/"><img src="https://www.itechguides.com/best/badge/pactumjs.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update