Thunder Client is a great way to fire off requests if you’ve already got VS Code open and just need to get to that breakpoint to see where that null reference is popping up. However, if you’re looking to do more advanced testing, again you’ll need to go elsewhere as Thunder Client doesn’t provide access to the JavaScript generated from the dropdown selectors. With a few selections, given limited functions, you’re able to quickly put together tests to examine components of the response. Thunder Client’s testing is a simple dropdown query builder. That out of the way, Thunder Client supports all my big three wants in a client. If those are important to you, maybe Hoppscotch or Insomnia are a better fit for you. It lacks the ability to bulk edit query parameters and does not provide easy GraphQL queries. Thunder Client lacks some of the features that I’ve taken for granted in the previous two clients. So, Thunder Client fits right into my daily use. I love VS Code, I’m always on the lookout for ways to get more use out of it. Thunder Client is another tool in the Swiss Army knife of development that is VS Code. Insomnia, despite beginning to get into the territory of “features I’ll never use”, is the best well-rounded Postman alternative I encountered during this venture. If you’re willing to put in the work, Insomnia can even chain requests for testing, taking values for the previous request and supplying them to the next. This feature makes for fantastic regression testing, as you can fire off multiple requests to different endpoints, each getting their own response to run the test script against. I digress, Insomnia’s testing capabilities extend beyond individual tests and allow you to run an entire suite of tests at once. Even given my zero previous experience with Chai, I was able confirm various pieces of the returned data without having to curse once! Any developer that works primarily in the backend, knows exactly what a blissful experience it is not having to curse at your JavaScipt to get it to work can be. Using the Chai API for assertions, I was able to assemble simple tests within seconds. I was quite impressed with Insomnia’s testing feature. Insomnia offers a full-featured experience, included my top three priorities: history, collections, and testing. It sits at the cusp of usability and bloat, in my opinion. I was turned onto Insomnia by a colleague and as an insomniac myself, I felt I had to give this client a try! Insomnia is one of the more robust clients I test drove. To be successful and outpace the competition, you need a software development partner that excels in exactly the type of digital projects you are now faced with accelerating, and in the most cost effective and optimized way possible. If you’re willing and able to use the extension, Hoppscotch is a great overall experience. 8/10Ĭhoosing a Global Software Development Partner to Accelerate Your Digital Strategy If you’re doing local testing, you’ll have to deal with the additional setup, and having an extension attached to your browser which your IT security folks may not be a fan of. Overall, Hoppscotch fills the role of “just an API client” very well. Essentially, you’ll need to AND all your test results together, meaning a failing test could leave you scratching your head for a bit. This can make for some difficult test development if you need to test several pieces of the response. (I do this with my phone apps too, my partner has no idea how I’m able to find anything!) Testing in Hoppscotch is accomplished through their own assertion functions and runs only one test script per request. The desktop app even has a “Zen Mode” which removes the text labels from the side menu. It has a minimal interface, which I appreciate opposed to Visual Studio’s cockpit’s-worth of buttons, dropdown menus, and tools that 80% of us only have a vague idea of its purpose. Once I installed that the extension, I found Hoppscotch quite easy to use. Unfortunately, Hoppscotch does not inherently support local testing, but there is a browser extension that fills the gap. Hoppscotch is a simple web-based interface client, with an available Universal Windows app for download.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |