Skip to content
P

Pactum

REST API Testing Tool for all levels in a Test Pyramid

by pactumjsFree

#2605in Developer Tools
0In stores

Description

PactumJS is a REST API testing tool meant to cover every level of a test pyramid. It is used to write end-to-end, integration, component and…

Highlights

  • Tests for e2e, integration, component and contract levels of an API
  • Descriptive chained methods for requests and expectations
  • Standalone mock server over HTTP or HTTPS
  • Works with Mocha, and with Cucumber through a boilerplate
  • Built-in data management for test values
  • Extendable and customizable

Ratings & Reviews

No ratings yet

Be the first to rate Pactum.

People also visit

P

Puppetry

Web testing solution for non-developers on top of Puppeteer and Jest

Developer Tools
Launch
J

Just API

Test REST, GraphQL APIs

Developer Tools
Launch
A

API Testing

Open source API testing tool. 开源接口调试、测试工具。Mock Server

Developer Tools
Launch
M

Mockoon

Create, run, and share mock REST APIs without coding

Developer Tools
Launch
P

Prism

Turn any OpenAPI2/3 and Postman Collection file into an API server

Developer Tools
Launch
C

Carbonate

End-to-end testing using natural language

Developer Tools
Launch

Pactum FAQ

What is PactumJS used for?

Automating REST API tests at every level of a test pyramid: end-to-end, integration, component and contract tests, plus mocking HTTP services.

Can it run as a mock server?

Yes. PactumJS can run as a standalone mock server over HTTP or HTTPS, simulating an HTTP-based API such as a REST endpoint. It can also generate contracts for contract testing.

Which test runners does it work with?

The readme shows examples with Mocha. Cucumber is supported through the separate pactum-cucumber-boilerplate project.

Is the source public?

Yes. The project is public on GitHub, where the readme and examples live.

Where can I learn more or ask questions?

Full documentation is at pactumjs.github.io. Questions and feedback go through GitHub Discussions on the repository.

What are the best Pactum alternatives?

Popular alternatives to Pactum include Puppetry, Just API and API Testing. See all Pactum alternatives

Developer Stuff

Badges