Loadbuster

A simple toolkit to create easy to use load-testing.

Usage

      
  const Loadbuster = require('loadbuster') // Require the module from npm
  const loadbuster = new Loadbuster() // Create a new instance
  // Add actions to perform on load testing
  loadbuster.defineActions([{
    type: 'http', // Action type
    url: 'http://exmaple.com', // HTTP Action URL
    method: 'GET' // HTTP Action Method
  }, {
    type: 'cli', // Action Type
    command: 'get-data', // CLI Action command to execute
    environment: { // Environment variables to add to the command
      DEBUG: '*:*'
    }
  }])
  loadbuster.startLoad(1000) // Start testing the load with 1000 requests