loadtest
loadtest copied to clipboard
Runs a load test on the selected URL. Fast and easy to use. Can be integrated in your own workflow using the API.
I execute this command ``` npx loadtest -t 5 -c 25 http://localhost:8080/public-api/xxx ``` and `loadtest` reports to me about 359 completed requests, but in reality when I check my server...
> Default: half the available CPUs on the machine. My command ``` npx loadtest -H ... -t 5 -c 20 http://localhost:8080/xxx ``` My output ``` Max time (s): 5 Concurrent...
While installed npm package loadtest and run it got error. below are the steps to reproduce ``` sudo npm install -g loadtest loadtest ``` Error ``` file:///usr/local/lib/node_modules/loadtest/bin/loadtest.js:111 await processAndRun(options) ^^^^^...
https://github.com/alexfernandez/loadtest/blob/a0f4b30a4d4d44a2699b9d50625ba727e85d277f/lib/pool.js#L75 ``` finishRequest(client, result, error) { if (this.options.statusCallback) { result.requestIndex = this.requestIndex++ result.instanceIndex = this.loadTest.instanceIndex this.options.statusCallback(error, result); ``` In my case 'error' is 'Connection error: connect ECONNREFUSED 127.0.0.1:3007', and result...
I would like to run [loadtest][1] (command `npx loadtest http://localhost:3000/endpoint`) on production server with configuration file .loadtestrc: ``` { I would like to run loadtest (command npx loadtest http://localhost:3000/endpoint )...
Added secure websockets support that also respects the --insecure flag.
When using typescript with following config and setting `"type": "module"` in package.json I can't build: ```json { "compilerOptions": { "esModuleInterop": true, "module": "NodeNext", "moduleResolution": "NodeNext", "target": "es6", "outDir": "dist", "rootDir":...
I added headers in options, will got an error Invalid header structure %j, it should be an array ``` import {loadTest} from 'loadtest' const options = { url: 'http://localhost:8000', maxRequests:...
I'm using loadtest to test the performance of my websocket server on an embedded device (which is why the #s are so low) I have a script that tests at...
>loadtest -R './generator.js' http://localhost/ Is this supported?