![]() Today, the project has 100 contributors and the tool is used by “hundreds of thousands of developers,” according to Schier. Schier quit his job in 2016 to focus on Insomnia full-time and then open-sourced it in 2017. Insomnia launched in 2015, as a side project of its sole developer, Greg Schier. “And we thought that by having Insomnia in our portfolio, we will get the pre-production part of things and on top of that, we’ll be able to build Kong Studio, which is kind of the other side of Insomnia that allows you to design APIs.” “We looked at the space and Insomnia is the number one open source API testing platform,” he told me. So far, it has mostly focused on the runtime, but now it wants to enable developers to also design and test their services. The company, which also recently announced that it had raised a $43 million Series C round, has already put this acquisition to work by using it to build Kong Studio, a tool for designing, building and maintaining APIs for both REST and GraphQL endpoints.Īs Kong CEO and co-founder Augusto Marietti told me, the company wants to expand its platform to cover the full service life cycle. Access the JavaScript code editor by clicking the left-side dropdown arrow on a test.API and microservices platform Kong today announced that it has acquired Insomnia, a popular open-source tool for debugging APIs. Manually add the following JavaScript to an individual test. Test the response payload by accessing the. Click either Send Current Request or Send Request by ID.Press CTRL+Space in the code editor to open template options.Within a unit test, click the left-side arrow icon to open the JavaScript code editor.To delete a unit test, click on the trashcan icon next to the individual test. The value is saved automatically when you click outside the editable area. Rename a unit test by double clicking on the unit test name and changing the contents. Click on the right-side arrow to on the individual test to run it, and to verify you’ve set it up correctly.A code editor area will appear where you can manually edit the test using JavaScript. For additional manual configuration, click the arrow to the left of the test.Select the request you want to configure for testing from the Select Request dropdown.You’ll be taken back to the app Test page where your tests will all be listed in the middle column.In the Test Suite you want to add the test to, click the New Test button. ![]() Unit tests are individual tests made up of one or more requests and an expected outcome. In the left-side panel, hover over the Test Suite you want to delete.These will all belong to your Test Suite. In the middle panel, add individual tests. After naming your test suite, click Create Suite.Click the Test tab and click New Test Suite. ![]()
0 Comments
Leave a Reply. |