Live data from Hacker News

Polly.js – Record, replay, and stub HTTP interactions

netflix.github.io

1–10 of 91 posts

Re: Polly.js – Record, replay, and stub HTTP interactions

#8
I 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

#9
post #7
post #6

So 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

#10
I 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.

Post reply on HN