Polly.js – Record, replay, and stub HTTP interactions
netflix.github.io
Polly.js – Record, replay, and stub HTTP interactions
1–10 of 91 posts
Re: Polly.js – Record, replay, and stub HTTP interactions
#2Interesting but would be more useful with support for streaming
Re: Polly.js – Record, replay, and stub HTTP interactions
#3Unrelated but There are so many things called Polly that it gets confusing
Re: Polly.js – Record, replay, and stub HTTP interactions
#4[deleted]
Re: Polly.js – Record, replay, and stub HTTP interactions
#5I've used mitmproxy + proxychains to do this. How is Polly different?
Re: Polly.js – Record, replay, and stub HTTP interactions
#6So is this basically selenium in javascript with some neat features?
Re: Polly.js – Record, replay, and stub HTTP interactions
#7So is this basically selenium in javascript with some neat features?
Sounds more like the VCR gem from Ruby land.
Re: Polly.js – Record, replay, and stub HTTP interactions
#8I know this is slightly different, but I wish more people knew about Chrome / Safari / Firefox’s “network” console tab. Great for debugging. Can look at all requests, headers, responses, timespans, etc. Some will even let you copy a given network request as a cURL command, capturing all headers, body, query strings, etc.
Re: Polly.js – Record, replay, and stub HTTP interactions
#9So is this basically selenium in javascript with some neat features?
Sounds more like the VCR gem from Ruby land.
Yes exactly, that's the idea anyway. Has a few nice features on top such as controlling the network latency and expiring recordings (useful when working on a project supported by a big team).
Re: Polly.js – Record, replay, and stub HTTP interactions
#10I would love to hear from people involved in projects like this, what kind of work/ how much, was done to get it ready for and approved to be open sourced by the company.
Especially at large corps like Netflix I'm sure there's a lot of hoops to jump through.