Socket
Socket
Sign inDemoInstall

insomnia-plugin-load-test-timing

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    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.


Version published
Weekly downloads
8
increased by14.29%
Maintainers
1
Install size
74.0 kB
Created
Weekly downloads
 

Readme

Source

insomnia-plugin-load-test-timing

npm version

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.

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. To use it you can install it from your insomnia.rest client by going into Preferences -> Plugins and entering the package name insomnia-plugin-load-test-timing then click "Install Plugin".

Keywords

FAQs

Last updated on 20 Oct 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc