SuperTest · JSON Structure

Supertest Test Config Structure

Hierarchical structure of a SuperTest HTTP test case

Type: Properties: 0
TestingFunctional TestingHTTP TestingNode.jsJavaScriptOpen-SourceAPI TestingIntegration TestingSuperAgentFluent API

Supertest Test Config Structure is a JSON Structure definition published by SuperTest.

Meta-schema:

JSON Structure

supertest-test-config-structure.json Raw ↑
{
  "title": "SuperTest Test Configuration Structure",
  "description": "Hierarchical structure of a SuperTest HTTP test case",
  "structure": {
    "method": "string — HTTP method: GET | POST | PUT | DELETE | PATCH | HEAD | OPTIONS",
    "path": "string — URL path (e.g. '/api/users')",
    "headers": {
      "Authorization": "string — e.g. 'Bearer token'",
      "Content-Type": "string — e.g. 'application/json'",
      "[custom-header]": "string — any additional header"
    },
    "query": {
      "[key]": "string|number|boolean — query parameter values"
    },
    "body": "object|string|array — request body payload",
    "expect": {
      "status": "integer — expected HTTP status code (e.g. 200, 201, 404)",
      "headers": {
        "Content-Type": "string — expected content type",
        "[header-name]": "string — expected header value"
      },
      "body": "object|string|array — expected response body",
      "contentType": "string — shorthand content type check (e.g. 'application/json')"
    },
    "timeout": "integer — request timeout in milliseconds (default 5000)",
    "redirects": "integer — number of redirects to follow (default 0)"
  },
  "usage_pattern": {
    "description": "Typical SuperTest usage in a test file",
    "example": "request(app).get('/api/users').set('Authorization', 'Bearer token').expect(200).expect('Content-Type', /json/)"
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/supertest-test-config-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.