I am using vcr.py (https://vcrpy.readthedocs.io/en/latest/) to test my application that is a command line tool. This tool makes HTTP calls and returns a JSON output on terminal.