Technology RadarTechnology Radar
Established

Link to repository

The Playback framework is developed by Optibus and open source.

A Python decorator-based framework that lets you "record" and "replay" operations (e.g. API requests, workers consuming jobs from queues).

Main uses

  • Regression testing - replay recorded production traffic on modified code before pushing it
  • Debug production issues locally
  • Access many "real data" scenarios to test/validate new features/behaviours

The framework intercepts all decorated inputs and outputs throughout the recorded operation, which are used later to replay the exact operation in a controlled isolated sandbox, as well as to compare the output of the recorded operation vs the replayed operation.