# insomnia-plugin-load-test-timing

> This plugin adds an option to each folder's drop-down menu that allows you to run all the requests in the folder and gather timing information.

Latest version **1.0.7** (published 2023-10-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install insomnia-plugin-load-test-timing
pnpm add insomnia-plugin-load-test-timing
yarn add insomnia-plugin-load-test-timing
bun add insomnia-plugin-load-test-timing
```

## 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.0.7 |
| Published | 2023-10-20 |
| First published | 2020-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 74 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Mark C Bradley |
| Maintainers | shindig |
| Keywords | insomnia, plugin, load, testing, timing |

## Links

- npm: https://www.npmjs.com/package/insomnia-plugin-load-test-timing
- Repository: https://github.com/shindig/insomnia-plugin-load-test-timing
- Homepage: https://github.com/shindig/insomnia-plugin-load-test-timing#readme
- Issues: https://github.com/shindig/insomnia-plugin-load-test-timing/issues
- npm.io page: https://npm.io/package/insomnia-plugin-load-test-timing

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2023-10-20
- 1.0.6 — 2022-12-21
- 1.0.5 — 2022-01-05
- 1.0.4 — 2022-01-05
- 1.0.2 — 2021-02-04
- 1.0.1 — 2020-08-01
- 1.0.0 — 2020-04-18

## README

# insomnia-plugin-load-test-timing

[![npm version](https://badge.fury.io/js/insomnia-plugin-load-test-timing.svg)](https://badge.fury.io/js/insomnia-plugin-load-test-timing)

This plugin adds an option to each folder's and workspace's drop-down menu that allows you to run all the requests in the folder and gather timing information.

![](ss1.png)
![](ss2.png)

## Folder or Workspace

Because of the restrictions from Insomnia, we can not detect requests in the sub folders. So we implemented a `Load Test` function for the workspace. If you want to test all the requests in the workspace, use the workspace menu.  

## Input Dialogs

When run, you will be asked three questions:

### # Iterations

The number of times to issue the requests for all the requests in the folder

### # Seconds

Delay between request runs, in seconds.

### # Run in parallel

If yes, it will run all requests in folder for each run. If no, it will run each request serially.

## Progress Bar

There will be a progress bar while requests are in progress.

## Output Table

When the runs are finished you will be presented with tabular result set showing the average and total timings of each request in the folder.

The `Successes` column will show the # of successful http requests and `Fails` column will show the # of failed http requests that sent out. Ideally, the number in this column is equal to the [# Iterations] \* [# requests in folder]. If it is not equal to this, then the number of failures is ([# Iterations] \_ [# requests in folder]) \* [# of requests that returned a non 2xx status code], and it will be colored RED for failure. A correct # of successes will be colored GREEN.

The results are shown in a separate windows, so you can compare different test results visually.  

## How to Install

This plugin is published in [npm](https://www.npmjs.com/package/insomnia-plugin-load-test-timing). To use it you can install it from your [insomnia.rest](https://insomnia.rest/) client by going into **Preferences -> Plugins** and entering the package name `insomnia-plugin-load-test-timing` then click "Install Plugin".

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