loadtest
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -125,3 +125,3 @@ #!/usr/bin/env node | ||
const defaultHeaders = options.headers ? {} : configuration.headers; | ||
const defaultHeaders = options.headers || !configuration.headers ? {} : configuration.headers; | ||
defaultHeaders['host'] = urlLib.parse(options.url).host; | ||
@@ -128,0 +128,0 @@ defaultHeaders['user-agent'] = 'loadtest/' + packageJson.version; |
{ | ||
"name": "loadtest", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"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", |
90527