loadtest
Advanced tools
Comparing version 3.0.6 to 3.0.7
@@ -15,2 +15,3 @@ 'use strict'; | ||
const https = require('https'); | ||
const qs = require('querystring'); | ||
const websocket = require('websocket'); | ||
@@ -82,2 +83,5 @@ const Log = require('log'); | ||
log.debug('Received JSON body'); | ||
if (this.params.contentType === 'application/x-www-form-urlencoded') { | ||
this.params.body = qs.stringify(this.params.body); | ||
} | ||
this.generateMessage = () => this.params.body; | ||
@@ -84,0 +88,0 @@ } else if (typeof this.params.body == 'function') { |
{ | ||
"name": "loadtest", | ||
"version": "3.0.6", | ||
"version": "3.0.7", | ||
"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", |
82012
1917