Estimated reading time:
Kong Studio leverages the powerful open source debugging tool Insomnia.
Once you’ve designed your spec, you can generate requests and fully test and debug your spec right inside Kong Studio.
Debugging with Insomnia
Open the Workspace of the spec you wish to test.
In the upper right hand corner click Test
- Kong Studio will prompt you to “Generate Requests”, note that this will overwrite any existing test activity. Click Generate Requests to agree.
Kong Studio will generate the sample requests from the spec file and display them in the Debug view
- Click on a request on the Workspace sidebar to populate that request into the Request Panel
- Click Send to test the request. The response will render in the Response Panel
To lean more about generating requests and to full leverage the power of Insomnia, head over to Insomnia’s Documentation