Interesting but would be more useful with support for streaming
Polly.js – Record, replay, and stub HTTP interactions
11–20 of 91 posts
Re: Polly.js – Record, replay, and stub HTTP interactions
#12I've used mitmproxy + proxychains to do this. How is Polly different?
Why Polly?
Keeping fixtures and factories in parity with your APIs can be a time consuming process. Polly alleviates this by recording and maintaining actual server responses without foregoing flexibility.
* Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests. * Use Polly's client-side server to modify or intercept requests and responses to simulate different application states (e.g. loading, error, etc.).
Re: Polly.js – Record, replay, and stub HTTP interactions
#13I 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.
Re: Polly.js – Record, replay, and stub HTTP interactions
#14Re: Polly.js – Record, replay, and stub HTTP interactions
#15Re: Polly.js – Record, replay, and stub HTTP interactions
#16So is this basically selenium in javascript with some neat features?
Re: Polly.js – Record, replay, and stub HTTP interactions
#17Unrelated but There are so many things called Polly that it gets confusing
Re: Polly.js – Record, replay, and stub HTTP interactions
#18Re: Polly.js – Record, replay, and stub HTTP interactions
#19I 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
#20I just want an ability to save and reopen exactly what I'm looking at. There are some cool websites which will eventually go down and I want to preserve an interactive snapshot of them.