Coder Social home page Coder Social logo

ebarahona / waspswithbazookas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from phara0h/waspswithbazookas

0.0 1.0 0.0 5.64 MB

Its like bees with machine guns but way more power

Home Page: https://documenter.getpostman.com/view/208035/S1a1YnXU?version=latest

License: MIT License

JavaScript 89.93% HTML 7.94% Handlebars 2.13%

waspswithbazookas's Introduction

https://www.npmjs.com/package/waspswithbazookas

Wasps With Bazookas

Its like bees with machine guns but way more power

Do not use this to DDOS for the lulz or any other purpose on servers you don't own, it is illegal . Don't say I did not tell you so.

Postman REST Docs Postman REST Docs You can also check out the docs/API.md file (but it might be out of date)

Node SDK can be found at WWB-SDK

Install

install wrk and have the bin in your path.

npm install -g waspswithbazookas

How to run

On your choice of platform for example AWS. You would have one instance running the hive and x amount of other instances running wasps.

wwb-cli

Start

starts hive and 2 wasp servers on the local machine.

wwb-cli spawn local start -w 2

Run load test

Runs a load test with the defaults hitting localhost:1234 (This test server can be found under test/test-http-server.js)

wwb-cli hive poke http://localhost:1234/

Get report

Gets report of the load test after it is finished.

wwb-cli hive report

Stop

Stops all locally made machines

wwb-cli spawn local stop

Manual

Start HIVE

Note: Must start HIVE first

wwb-hive 4269

First argument is port number (optional) Default: 4269 You can also set it by setting your env with WWB_HIVE_PORT

Start WASP

wwb-wasp http://hiveip:hiveport/ 4268

First argument is hive url (EX. http://localhost:4269/) You can also set it by setting your env with WWB_HIVE_URL

Second argument is port number (optional) Default: 4268 You can also set it by setting your env with WWB_WASP_PORT

Sample config file for remote control

{
  "instance": {
    "type": "remote",
    "hive": {
      "ip": "0.0.0.0",
      "port": "4269"
    }
  }
}

waspswithbazookas's People

Contributors

phara0h avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.