[Feature request] Running request folder via Plugin API should show latest response data #6512
Open
1 task done
Labels
A-plugin-api
Area: Plugin API / System
C-improvement
Category: Improvement / Enhancement
S-verified
Status: Verified by maintainer
Expected Behavior
When a plugin triggers a request (via
network.sendRequest
), that response should appear on the response history dropdown, as the responses of manually-triggered requests do.Actual Behavior
Plugin-initiated responses don't appear on the history dropdown until a request is sent manually (with the Send button), at which point all the responses that were caused by the plugin, plus the recently-made manual request, all appear at once
Reproduction Steps
Is there an existing issue for this?
Additional Information
This was reported on a Insomnia plugin that I maintain. See jreyesr/insomnia-plugin-batch-requests#10. However, I can reproduce it with a very simple plugin too, taken directly from the docs, so it appears to be general and thus I'm reporting it here.
To reproduce the issue, you can use the following minimal plugin:
package.json
main.js
Insomnia Version
2023.5.8
What operating system are you using?
Windows
Operating System Version
Ubuntu 22.04
Installation method
APT (.deb file)
Last Known Working Insomnia version
2022.5.7
The text was updated successfully, but these errors were encountered: