origami-tester

Origami stress tester


License
ISC
Install
npm install origami-tester@0.4.3

Documentation

Origami stress

Purpose

To reuse mocha test for load/stress testing

  • [x] Sequential testing
  • [ ] Parallel testing
  • [ ] Stress testing

Installation

npm install -g origami-stress

Usage

stress {options} [testPath1 ... testPathX]

options can be: -j output.json: saves the results into output.json. Read about its format -e: do not output errors to console -s: be silent -t: set the timeout to run each test, in milliseconds. 5000 milliseconds by default -v: show version and exit

Results format

{
  "timeout": 5000,
  "tests": {
    "parent1": {
      "children1": {
        "grandchildren1": {
          "errors": 0,
          "times": 0
        }
      }
    }
  }
}

Leaf nodes under tests will contain errors and times properties. timeout property is specified in milliseconds.