🔘Pynt for Insomnia
Run Pynt API security tests from Insomnia API testing application
Last updated
Run Pynt API security tests from Insomnia API testing application
Last updated
💡 Insomnia by Kong is a powerful API client and design tool known for its sleek, intuitive interface. It supports REST, GraphQL, and WebSockets, and offers features like environment variables, authentication helpers, and code generation to streamline API development.
As part of its API security testing suit, Pynt allows seamless integration with any Insomnia tests.
By integrating Pynt with Insomnia, you can leverage the power of this vast platform while enhancing your API security. Pynt automatically generates context-aware security tests based on your Insomnia tests, enabling you to identify vulnerabilities early in the development cycle and reduce the risk of security issues in production.
First, make sure Pynt's prerequisites are met.
Follow the instructions to install Pynt container here.
Download insomnia_goat.json
functional test and import it into Insomnia.
In this example, we will use pynt listen
and set it to capture all domains (no filter)
Open Insomnia.
Navigate to the settings by clicking on "Preferences" or use the shortcut Ctrl+,
(Cmd+,
on macOS).
In the Preferences window, go to the "Proxy" tab.
Check the option "Enable HTTP Proxy".
Set the "HTTP Proxy" field to 127.0.0.1
and the "Port" to 6666
, which matches the Pynt listening address and port.
If you're working with HTTPS requests, also check "Enable HTTPS Proxy" and use the same proxy settings.
Close the Preferences window and proceed with your API requests as usual.
We will see the following output, meaning Pynt is listening on port 6666 for incoming traffic
Run the goat tests on Insomnia, All the HTTP and HTTPS requests from Insomnia will now be routed through Pynt. When done, return to the terminal and hit Enter to start Pynt scan on the traffic generated by Insomnia
When the scan is complete the Pynt report will open in the browser.
💡 Pynt CLI Troubleshooting: If you're encountering issues with Pynt's CLI, visit the Pynt CLI Troubleshooting Guide for solutions and troubleshooting tips.
💡 Still Need Help? For any questions or troubleshooting, reach out to the Pynt Community Support.