This package can be used to create Minigun scenarios from a browser session.
- Start Minigun Recorder with
sh minigun_recorder.sh
- Set your browser's proxy to
http://localhost:10888
- Any extensions (like Postman) should pick up that setting as well
- If you are using curl or Node.js-based scripts, you can set the proxy with
HTTP_PROXY
environment var
- Interact with a web application using your browser
- Stop Minigun Recorder and use the test script it has created from the browser session
By default, HTTP requests to all hosts are captured. To save requests only to one domain (i.e. the application you're testing), run the proxy with
TARGET=myapp.com ./minigun_recorder.sh
The recorder relies on mitmproxy.
- Install mitmproxy
- Configure certificates if you want to record HTTPS-based sessions
ISC (same as Minigun)