Friday, November 13, 2026 4,523 lists 78,994 records on file
List your app or device

  1. Home
  2. API Testing Tools
  3. SuperTest

SuperTest

Plans and prices

MIT-licensed open-source library

Free

Node.js HTTP server testing library

Every plan, in full

On the record

Assertions
The API supports assertions on response status, body, headers, and custom assertion functions.github.com · read 11 Oct 2026
Async styles
Examples show callback, promise, and async/await usage.github.com · read 11 Oct 2026
Async usage
The examples show callback, promise, and async/await styles for making requests and checking responses.github.com · read 5 Oct 2026
HTTP assertions
It provides a high-level abstraction for HTTP testing while allowing use of SuperAgent’s lower-level API.github.com · read 11 Oct 2026
Install
The README instructs users to install SuperTest from npm with npm install supertest --save-dev.github.com · read 11 Oct 2026
Installation
The README says to install it as an npm development dependency with `npm install supertest --save-dev`.github.com · read 5 Oct 2026
License
The repository identifies the project as MIT licensed; the license grants permission to use, copy, modify, publish, distribute, sublicense, and sell copies subject to its conditions.github.com · read 11 Oct 2026
Maintainer
The repository says SuperTest is maintained for Forward Email and several other projects, including Lad, Spam Scanner, Bree, Cabin, and Lass.github.com · read 5 Oct 2026
Maintainers
The repository says SuperTest is maintained for Forward Email, Lad, Spam Scanner, Bree, Cabin, and Lass.github.com · read 11 Oct 2026
Noted limitation
When using .end(), failed .expect() assertions are delivered as an error to the callback and must be rethrown or passed to the test’s done() callback to fail the test.github.com · read 11 Oct 2026
Persistent cookies
request.agent() can persist cookies between requests, and the README documents cookie assertions.github.com · read 11 Oct 2026
Protocol
The README shows enabling HTTP/2 by passing {"http2":true} to request() or request.agent().github.com · read 11 Oct 2026
Purpose
SuperTest is a library for testing Node.js HTTP servers with a fluent API.github.com · read 11 Oct 2026
Security reporting
The security policy asks reporters to email [email protected] and says a bug bounty may be awarded at the maintainers’ discretion depending on severity.github.com · read 11 Oct 2026
Server setup
You can pass an HTTP server or a function to request(), and SuperTest binds a server that is not already listening to an ephemeral port.github.com · read 11 Oct 2026
SuperAgent features
The README says SuperAgent methods such as write() and pipe() are available, including multipart file uploads.github.com · read 11 Oct 2026
Target use
The project describes itself as a library for testing Node.js HTTP servers with a fluent API.github.com · read 5 Oct 2026
Test frameworks
The README says SuperTest works with any test framework and demonstrates Mocha usage.github.com · read 11 Oct 2026

Alternatives to SuperTest

Every alternative, ranked