Supertest
SuperAgent driven library for testing HTTP servers, mounting Express, Next.js, Koa or similar app instances directly and issuing requests against them to assert response status, body and headers without a listening port.
Supertest at github.com/ladjs/supertest is a free MIT SuperAgent driven library for testing HTTP servers, npm supertest 7.3.2 Node.js >= 14.18, mounts Express Next.js Koa app instances directly and issues requests to assert response status body and headers without a listening port, no sold commercial tier (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is Supertest free?
Supertest: Supertest is free open-source software released under the MIT License; the supertest package latest 7.3.2 on npm requires Node.js >= 14.18. It wraps SuperAgent around an HTTP server app instance, issuing requests directly against the mounted Express, Next.js, Koa or compatible application so tests can assert response status codes, bodies and headers without starting a listening port or real network round trip. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is Supertest free?
The code is free to self-host, but a hosted plan from the vendor may not be. Supertest publishes its source, so cost depends on where you run it.
How much does Supertest cost?
Supertest is free open-source software released under the MIT License; the supertest package latest 7.3.2 on npm requires Node.js >= 14.18. It wraps SuperAgent around an HTTP server app instance, issuing requests directly against the mounted Express, Next.js, Koa or compatible application so tests can assert response status codes, bodies and headers without starting a listening port or real network round trip. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check Supertest's current pricing?
On Supertest's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is Supertest?
The app function is handed to the agent, which boots it on an ephemeral internal port and exposes a SuperAgent-style chain for method, path, query, body and header setup; the returned response carries parsed JSON or text, status and headers for assertion, and the server closes after the test.
How does pricing work?
The package installs free under MIT with no seat license; it exercises the app in-process, and commercial support would be outside the open-source project.
How does Supertest compare with other tools in Dev Workflow & Productivity?
Supertest is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| Supertest | Open source | Supertest is free open-source software released under the MIT License; the supertest package latest 7.3.2 on npm requires Node.js >= 14.18. It wraps SuperAgent around an HTTP server app instance, issuing requests directly against the mounted Express, Next.js, Koa or compatible application so tests can assert response status codes, bodies and headers without starting a listening port or real network round trip. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Nock | Open source | Nock is free open-source software released under the MIT License; the nock package latest 15.0.6 on npm requires Node.js >= 22.20. It intercepts outgoing Node http and https requests, matches them by HTTP method and URL against configured interceptors, and returns preset status codes, bodies and headers, with call-count assertions and optional recording for later replay. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Node Mocks Http | Open source | Node-mocks-http is free open-source software released under the MIT License; the node-mocks-http package latest 1.18.1 on npm requires Node.js >= 14. It builds synthetic req and res objects that mimic the Node http interface, populating request params, body, query and headers and capturing response status, body, headers and finish events, so route controllers and middleware can be unit tested without launching a real HTTP server. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
Supertest's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: Supertest is free open-source software released under the MIT License; the supertest package latest 7.3.2 on npm requires Node.js >= 14.18. It wraps SuperAgent around an HTTP server app instance, issuing requests directly against the mounted Express, Next.js, Koa or compatible application so tests can assert response status codes, bodies and headers without starting a listening port or real network round trip. No paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Nock
HTTP server mocking and expectations library for Node.js, intercepting http and https requests and matching them by method and URL to return preset responses, record replays and assert that expected calls were made.
Node Mocks Http
Mock request and response objects for testing Express, Next.js and Koa route handlers, building a synthetic req with params, body and query and capturing res status, body and headers without starting an HTTP server.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
