Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logiload

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logiload - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

lib/runner.js

@@ -94,3 +94,3 @@ var async = require('async')

++expected;
setTimeout(next, interval)
setTimeout(next, interval)
}

@@ -97,0 +97,0 @@ , function(e) {

@@ -28,4 +28,1 @@ var format = require('util').format

}
Stats.prototype.toCSV = function() {
return "TBD"
}

@@ -61,2 +61,3 @@ var LOG = require('log4js').getLogger('lib/steps/req')

rslt.statusCode = r.statusCode;
//TODO: allow hook for applicative errors
}

@@ -69,2 +70,3 @@

log.info("[a#%s] - runnig onResponse hook", aid);
//TODO - exception safety + gather error when caught exception
reqInfo.onResponse.apply(ctx, [e, r]);

@@ -71,0 +73,0 @@ }

{
"name": "logiload",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib",

@@ -21,2 +21,8 @@ var logger = require('log4js')

}
, i :
{ alias : "interval"
, describe : "interval between start users"
, type : "number"
, default : 20
}
, l :

@@ -42,5 +48,6 @@ { alias : "log-level"

var runner = require('./lib/runner')
, path = require('path')
, fs = require('fs')
, macro = path.join( process.cwd(), args.macro )

@@ -56,7 +63,8 @@ ;

macro.total = args.total;
macro.csv = args.csv;
macro.total = args.total;
macro.csv = args.csv;
macro.interval = args.interval
runner(macro, function(e) {
//TODO final stats
log[ e ? "error" : "info" ]("Complete with", e || "SUCCESS");
})
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc