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




Polly.JS is a standalone, framework-agnostic JavaScript library that allows recording, replaying, and stubbing of HTTP interactions. By tapping into a number of request APIs throughout each Node & the browser, Polly.JS is ready to mock requests and responses with little to no configuration whereas providing you with the power to take full management of every request with a easy, highly effective, and intuitive API.

It helps to document your take a look at suite’s HTTP interactions and replay them throughout future take a look at runs for quick, deterministic, correct assessments. You can use Polly’s client-side server to switch or intercept requests and responses to simulate completely different utility states (e.g. loading, error, and so forth.).


https://netflix.github.io/pollyjs


https://github.com/Netflix/pollyjs


Tags

browser

testing

netflix

document

replay

http

testing-tools

test-coverage

Implementation

Javascript

License

Apache

Platform

NodeJS

   


%d bloggers like this: