# Introducing yakbak: Record and playback HTTP interactions in NodeJS

DevFeed: [Introducing yakbak: Record and playback HTTP interactions in NodeJS](<https://devfeed.tech/articles/introducing-yakbak-record-and-playback-http-interactions-in-nodejs-29041.md>)

Original publisher: [Read original article](<https://code.flickr.net/2016/04/25/introducing-yakbak-record-and-playback-http-interactions-in-nodejs/>)

Author: jeremyruppel

Published: 2016-04-25T19:22:18Z

Content type: tutorial

Language: en

Sources: [Flickr](<https://devfeed.tech/sources/flickr.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [API](<https://devfeed.tech/topics/api.md>), [client](<https://devfeed.tech/topics/client.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Mocking](<https://devfeed.tech/topics/mocking.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [CoAP](<https://devfeed.tech/topics/coap.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [client](<https://devfeed.tech/tags/client.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [http](<https://devfeed.tech/tags/http.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [nodejs](<https://devfeed.tech/tags/nodejs.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

This tutorial examines how to test a Flickr API client without depending on live HTTP interactions. It discusses stubbing the HTTP client, explains drawbacks such as coupling to implementation details, and introduces yakbak, a NodeJS HTTP playback module.

## Source excerpt

Did you know that the new Front End of www.flickr.com is one big Flickr API client? Writing a client for an existing API or service can be a lot of fun, but decoupling and testing that client can be quite ... Continue reading ->