Skip to content

HTTP proxy that records requests and creates Artillery test scripts

License

Notifications You must be signed in to change notification settings

artilleryio/recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minigun Recorder

This package can be used to create Minigun scenarios from a browser session.

  1. Start Minigun Recorder with sh minigun_recorder.sh
  2. 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
  3. Interact with a web application using your browser
  4. Stop Minigun Recorder and use the test script it has created from the browser session

Configuration

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

Installation

The recorder relies on mitmproxy.

  1. Install mitmproxy
  2. Configure certificates if you want to record HTTPS-based sessions

License

ISC (same as Minigun)

About

HTTP proxy that records requests and creates Artillery test scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published