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

loadtest

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loadtest - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

package.json
{
"name": "loadtest",
"version": "1.0.0",
"version": "1.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.",

@@ -17,5 +17,3 @@ "homepage": "https://github.com/alexfernandez/loadtest",

"log": "1.4.*",
"stdio": "0.1.7"
},
"devDependencies": {
"stdio": "0.1.7",
"testing": "*"

@@ -22,0 +20,0 @@ },

@@ -9,5 +9,5 @@ [![Build Status](https://secure.travis-ci.org/alexfernandez/loadtest.png)](http://travis-ci.org/alexfernandez/loadtest)

`loadtest` allows you to configure and tweak requests to simulate real world loads.
The set of basic options are designed to be compatible with Apache `ab`.
While `ab` can only set a concurrency level and lets the server adjust to it,
But while `ab` can only set a concurrency level and lets the server adjust to it,
`loadtest` allows you to set a rate or requests per second with the `--rps` option.

@@ -199,5 +199,5 @@ Example:

First we install `loadtest`:
First we install `loadtest` globally:
$ sudo npm install loadtest
$ sudo npm install -g loadtest

@@ -280,3 +280,3 @@ Now we start the test server:

We now know that our server stands 500 rps without problems.
We now know that our server can accept 500 rps without problems.
Not bad for a single-process naïve Node.js server...

@@ -316,7 +316,7 @@ We may refine our results further to find at which point from 500 to 1000 rps our server breaks down.

This is the set of available options. Except where noted, all options are (as their name implies) optional.
All options but `url` are, as their name implies, optional.
#### `url`
The URL to invoke.
The URL to invoke. Mandatory.

@@ -445,3 +445,4 @@ #### `concurrency`

Copyright (c) 2013 Alex Fernández <alexfernandeznpm@gmail.com>
Copyright (c) 2013-4 Alex Fernández <alexfernandeznpm@gmail.com>
and [contributors](https://github.com/alexfernandez/loadtest/graphs/contributors).

@@ -448,0 +449,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

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