Search

Suggested keywords:
  • Java
  • Docker
  • Git
  • React
  • NextJs
  • Spring boot
  • Laravel

Polly.JS - Record, Replay, and Stub HTTP Interactions

  • Share this:
post-title
Polly.JS is a standalone, framework-agnostic JavaScript library that enables recording, replaying, and stubbing of HTTP interactions. By tapping into multiple request APIs across both Node & the browser, Polly.JS is able to mock requests and responses with little to no configuration while giving you the ability to take full control of each request with a simple, powerful, and intuitive API.

It helps to record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests. You can use Polly's client-side server to modify or intercept requests and responses to simulate different application states (e.g. loading, error, etc.).
https://netflix.github.io/pollyjs
https://github.com/Netflix/pollyjs
License:
Tech: