flickr / yakbak

Record and playback HTTP responses
MIT License
1.06k stars 84 forks source link

Dynamic responsa #20

Closed bassjacob closed 8 years ago

bassjacob commented 8 years ago

Would you be interested in adding documentation on how to edit a yakbak response to make it dynamic?

I had a usecase where I wanted to test an API client that should cache a response if passed a flag and not otherwise, but obviously yakbak "caches" the server response anyway. So I edited the "tape" to return a dynamic response so I could test that.

If it's something you'd like to add docs for, I'm happy to write up what I did with an example so it's clear?

jeremyruppel commented 8 years ago

I think this would be super helpful! Maybe we should start a collection of docs/examples/recipes, perhaps something like gulp or browserify have. If you want to write up what you did and add it to a docs directory, I'd gladly merge it. Thanks!