Request ID generator is an Insomnia plugin that adds a template tag for generating unique formatted request IDs to your requests
The following parameters are optional and allow formatting of the generated request ID
The nickname of the app under test.
Type: String
The environment where the app is being tested (e.g. - staging, PRD, etc.)
Type: String
For making each request ID unique, the current Unix epoch time is appended to the string returned. Thus, the format of the generated request ID will be:
<App Nickname>-<Environment>-<Unix epoch time>
In absence of one or more parameters, the corresponding entry in the request ID will be skipped.
The plugin is not currently available as an NPM package and thus needs to be manually imported into the local plugins folder for Insomnia. Details are available here
The final file structure after import will be
<OS-specific base>/insomnia-plugin-reqid-generator
├── package.json
├── main.js
├── LICENSE
└── README.md
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This plugin is distributed under the permissive MIT License