Freedom251 › API Testing Tools
Frisby.js
What Frisby.js is
Frisby.js is a free, open-source framework for testing REST APIs on the API platform. It sends requests with GET, POST, PUT, DELETE, or a fetch method that accepts Fetch API options, then checks whether responses meet expected conditions. Built-in assertions cover status codes, headers, JSON values and types, partial body content, and response time. Tests run with Jest and use Jasmine-style assertion syntax. Developers can customize assertions, validate JSON response structures and constraints through Joi, and apply shared request settings such as headers, authentication, and cookies globally or per test. Promise-style chaining supports dependent HTTP calls, while FormData enables file uploads. Inspectors can log request and response details, including headers, status, JSON, and body content. The documentation shows installation as an npm development dependency. Frisby.js is licensed under BSD 3-Clause and has no paid plan or trial terms.
Who it suits
Frisby.js suits developers who need automated REST API checks in JavaScript projects, including response, schema, request, and dependent-call testing.
What it does well
- Free and open source
- Checks status, headers, JSON, body, and response time
- Supports custom assertions and Joi schemas
- Includes GET, POST, PUT, DELETE, and fetch methods
- Supports file uploads and request inspectors
What to know first
- Listed platform is API only
- Requires npm development-dependency installation
- No paid plan or trial terms listed
Verdict
Frisby.js combines HTTP helpers, response assertions, schema checks, and Jest execution for REST API testing. Its free BSD-licensed package fits projects that want customizable JavaScript API tests.
Facts from Frisby.js's own pages
- Commercial plans
- The official documentation and repository describe an installable software package and provide no paid plan or trial terms. · github.com, 11 Oct 2026
- Configuration
- Global or per-test setup can apply request options such as headers and authentication. · docs.frisbyjs.com, 11 Oct 2026
- Custom assertions
- Users can define custom expectation handlers and use them in tests. · github.com, 11 Oct 2026
- Debugging
- Built-in inspectors can log request and response details, headers, status, JSON, and body content. · docs.frisbyjs.com, 11 Oct 2026
- Dependent tests
- Promise-style chaining supports tests that make dependent HTTP calls. · docs.frisbyjs.com, 11 Oct 2026
- File uploads
- Frisby supports file uploads using FormData. · docs.frisbyjs.com, 11 Oct 2026
- HTTP methods
- Frisby.js provides GET, POST, PUT, and DELETE helpers, plus a fetch method that accepts Fetch API options. · docs.frisbyjs.com, 5 Oct 2026
- HTTP requests
- It provides GET, POST, PUT, DELETE, and fetch-based request methods. · docs.frisbyjs.com, 11 Oct 2026
- Installation
- The documentation instructs users to install Frisby as a development dependency with npm. · docs.frisbyjs.com, 11 Oct 2026
- JSON schemas
- Frisby exposes Joi for checking JSON response bodies against schemas. · docs.frisbyjs.com, 11 Oct 2026
- License
- The project repository states that Frisby.js is licensed under BSD 3-Clause. · github.com, 11 Oct 2026
- Purpose
- Frisby.js is a REST API testing framework for testing API endpoints. · docs.frisbyjs.com, 11 Oct 2026
- Response assertions
- Built-in assertions check status, headers, JSON values and types, and partial response body content. · docs.frisbyjs.com, 11 Oct 2026
- Response checks
- The project README lists built-in checks for status, headers, JSON values and types, body content, and response time. · github.com, 5 Oct 2026
- Schema validation
- The docs demonstrate using Joi to assert JSON response types and constraints. · docs.frisbyjs.com, 5 Oct 2026
- Shared request settings
- Global or per-test setup can apply request parameters such as headers, authentication, and cookies. · docs.frisbyjs.com, 5 Oct 2026
- Test runner
- Frisby.js uses Jasmine style assertions and Jest to run tests. · docs.frisbyjs.com, 11 Oct 2026
Where Frisby.js stands on Freedom251
- API Testing Tools#23 of 34