Settings

Theme

Playback-studio: record and replay the input to any Python function

github.com

14 points by assaflavie 5 years ago · 6 comments

Reader

eitanyan 5 years ago

Read the motivation behind it in https://eitanyan.medium.com/continuous-deployment-in-mission...

bela3747 5 years ago

Awesome idea! Can I use it for replaying a full REST-API action?

  • eitanyan 5 years ago

    Yes this is one of the main use cases we've built this framework for, you can check a full example which uses flask provided in the repo: https://github.com/Optibus/playback/tree/main/examples/flask

    You will need to decorate the input, typically the request data, and if you access other external data source, such as database access or other services, you should decorate that access as well so it will be part of the recording. During playback everything will be fetched from the recording when the intercepted methods are invoked with the same parameters.

    It is suited for other actions as well, we are also using to record and replay our celery based tasks

    (I am one of the main contributors to this framework)

  • assaflavieOP 5 years ago

    Yea, that's exactly what it's for.

meitalica 5 years ago

My team is also using this tool on a daily basis, and it has made the process of debugging obscure bugs and spotting regressions fast and easily. Highly recommended!

nivsarig 5 years ago

We are using this tool extensively in our development flow on a daily basis.

It gives us an automatic way for more coverage we ever had and improved the product quality significantly.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection