Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

A dead simple flask app that listens for requests and prints the request data.

Notifications You must be signed in to change notification settings

catastrophe-brandon/listener-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About this app

This is just a simple flask app I wrote for the purposes of intercepting requests from smoke tests and printing them. It's a quick and dumb way to find out what request body andy/or headers are being sent from tests without setting up the associated service(s).

How to use it

Create a virtual environment, activate it, then install the requirements.

Then, simply run python app.py

You may need to update your /etc/hosts file with an entry depending on the service you are hoping to intercept.

Once the hosts file has been updated and the server is running, run your tests like this:

ENV_FOR_DYNACONF=smoke iqe tests plugin <plugin_name>

About

A dead simple flask app that listens for requests and prints the request data.

Resources

Stars

Watchers

Forks

Languages