Back to plugins
Logo

chance

Version 1.4.3
Install Plugin

Overview

Random Value Generator

Generates a random value from on Chance.JS

Instalation:

  • Open Insomnia options (Ctrl + , | Cmd + ,)
  • Write insomnia-plugin-chance on the Plugins tab

Args:

  • Type: Select a function from Chance to be executed
  • Custom Function: If selected custom type, it will execute the function named here
  • Options: Arguments you want to pass to your chance function. Because of the way Insomnia handles plugins, you need to pass it as:

argumentName: argumentValue, argumentName2: argumentValue2

For example, with Natural, you can pass it as: min: 1, max: 20