loadtest
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -211,4 +211,9 @@ 'use strict'; | ||
{ | ||
request.setTimeout(params.timeout, function() | ||
var timeout = parseInt(params.timeout); | ||
if (!timeout) | ||
{ | ||
log.error('Invalid timeout %s', params.timeout); | ||
} | ||
request.setTimeout(timeout, function() | ||
{ | ||
requestFinished('Connection timed out'); | ||
@@ -215,0 +220,0 @@ }); |
{ | ||
"name": "loadtest", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Run load tests for your web application. Mostly ab-compatible interface, with an option to force requests per second. Includes an API for automated load testing.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/alexfernandez/loadtest", |
78644
2142