{"repo":"alexfernandez/loadtest","free":true,"listed":false,"github":"https://github.com/alexfernandez/loadtest","clone":"git clone https://github.com/alexfernandez/loadtest.git","description":"Runs a load test on the selected URL. Fast and easy to use. Can be integrated in your own workflow using the API.","language":"JavaScript","stars":2630,"topics":["loadtesting","nodejs","performance","testing-tools"],"license":"MIT","category":"dev-tools","readme_excerpt":"loadtest Runs a load test on the selected HTTP or WebSockets URL. The API allows for easy integration in your own tests. Installation Install globally as root: # npm install -g loadtest On Ubuntu or Mac OS X systems install using sudo: $ sudo npm install -g loadtest For access to the API just install it in your npm package as a dev dependency: $ npm install --save-dev loadtest Compatibility Versions 6 and later should be used at least with Node.js v16 or later: Node.js v16 or later: ^6.0.0 Node.js v10 or later: ^5.0.0 Node.js v8 or later: 4.x.y Node.js v6 or earlier: ^3.1.0 ES5 support (no let , const or arrow functions): ^2.0.0. Usage Why use loadtest instead of any other of the available tools, notably Apache ab ? loadtest allows you to configure and tweak requests to simulate real world loads. Basic Usage Run as a script to load test a URL: $ loadtest [-n requests] [-c concurrency] [-k] URL The URL can be \"http://\", \"https://\" or \"ws://\". Set the max number of requests with -n , and the desired level of concurrency with the -c parameter. Use keep-alive connections with -k whenever it makes sense, which should be always except when you are testing opening and closing connections. Single-dash parameters (e.g. -n ) are designed to be compatible with Apache ab , except that here you can add the parameters after the URL. To get online help, run loadtest without parameters: $ loadtest Usage Dos The set of basic options are designed to be compatible with Apache ab . But while ab ","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexfernandez","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexfernandez/loadtest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}