Skip to content

Run mitmproxy with plugins as background and capture network information in your automation testing

Notifications You must be signed in to change notification settings

huaiyuangu/mitmproxy-in-automation

Repository files navigation

run mitmproxy to capture network traffics as background in automation testing

how to setup

sudo pip install mitmproxy

call MITMProxyRunThread in python code

import time
from proxyserver import MITMProxyRunThread

MITMProxyRunThread(8080, 'mitmproxy', plugin=['plugin_req_requestrecorder']).start()

time.sleep(10)

About

Run mitmproxy with plugins as background and capture network information in your automation testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages