2.0.0 • Published 4 years ago

insomnia-plugin-load-test-timing-extended v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago
insomnia-plugin-load-test-timing-extended

This plugin is forked and extended version of insomnia-plugin-load-test-timing

npm version

Why I needed to extend:

  • In insomnia-plugin-load-test-timing plugin loads requests only in the current folder and does not work for the requests in the sub folders.
    • So I didn't do much. I just add the same functionality for the workspace menu. So this extended plugin can load all the requests in the workspace whether they are in the folder or not. There is still "Load Test" button in the folder menus if you would like test the requests only in the folder.
  • The results page was showing all request counts.
    • So I also improved results window a little. I divided them to show fails and successes.
  • If I have too many requests I confuse if everything going well.
    • So I also added a progress indicator.

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

npm.io

npm.io

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.

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 total http requests 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.

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-extended then click "Install Plugin".

2.0.0

4 years ago