# speedman

> Run postman collections in parallel `powered by newman`.

Latest version **1.1.1-rc.1** (published 2021-04-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install speedman
pnpm add speedman
yarn add speedman
bun add speedman
```

Provides the command `speedman`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1-rc.1 |
| Published | 2021-04-20 |
| First published | 2021-02-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jvictor97 |

## Links

- npm: https://www.npmjs.com/package/speedman
- npm.io page: https://npm.io/package/speedman

## Dependencies (3)

- [newman](https://npm.io/package/newman.md) ^5.2.2
- [spinnies](https://npm.io/package/spinnies.md) ^0.5.1
- [commander](https://npm.io/package/commander.md) ^7.0.0

## Recent versions

- 1.1.1-rc.1 (latest) — 2021-04-20
- 1.1.0 — 2021-02-10

## README

# speedman

Run postman collections in parallel `powered by newman`.

## Installation

Speedman version 1.1.0 allows usage as a CLI, so install it globally using npm:

```sh
npm install -g speedman 
```

After cloning the repo run (v1.0.0):

```sh
$ npm install
```

## Usage

Run the script using a terminal and passing the arguments as follow:

| Argument   | Shorthand (v1.1.0) | Description                                                          | Example                                   |
|------------|--------------------|----------------------------------------------------------------------|-------------------------------------------|
| collection | `-c`               | A postman collection exported to JSON format                         | `./my_collection.postman_collection.json` |
| instances  | `-i`               | The amount of instances to run in parallel                           | `10`                                      |
| count      | `-n`               | The total amount of requests to be distributed between the instances | `10`                                      |

## Full Example

Running `speedman` as a CLI (v1.1.0):

```sh
$ speedman -c ./my-collection.postman_collection.json -i 10 -n 10
```

Running after cloning the repo (v1.0.0):

```sh
$ node index.js --collection ./my-collection.postman_collection.json --instances 10 --count 10
```

## Result

```sh
*** Started running 10 instances for 10 requests ***
✓ Finished Instance 1
✓ Finished Instance 2
✓ Finished Instance 3
✓ Finished Instance 4
✓ Finished Instance 5
✓ Finished Instance 6
✓ Finished Instance 7
✓ Finished Instance 8
✓ Finished Instance 9
✓ Finished Instance 10
** Finished running **
```

---
_Source: https://npm.io/package/speedman · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
