A quick and dirty node script to fire off a number of requests and determine what percentage hit which server.
- Run
npm install
- run
npm start
Using the default start command will use the following configuration
host: chimp-staging-proxy.herokuapp.com
path: /login
count: 100
This set up will hit https://chimp-staging-proxy.herokuapp.com/login 100 times and log out the percentage of request that hit the Gemini App and the Legacy app.
This configuration is overridable by running the script directly with coresponding flags. For example if you want to run it 1000 times use
node ./index --count 1000