Say Goodbye to Postman, Insomnia! Hi Thunder Client!
If you are a developer, chances are you have integrated/developed an API (Application Programming Interface) call in your application as it is the De Facto cross-platform communication protocol.
For testing out these APIs in our local machines, people use multiple applications such as Insomnia, Swagger, Postman, etc. For most of us, installing a whole new application just for making basic API calls is a hassle.
Well.. no more! Welcome Thunder Client⚡
What is Thunder Client?
Thunder Client is a VS Code extension developed by Ranga Vadhineni that can be used to -
- Make Basic API calls - By Basic, I mean simple REST calls (with authentication)to a URL along with a payload. Almost 99% of users are content with only this functionality.
- Check Response Stats - Thunder Client supports adding standard tests such as response code checker, response time, response type, etc. These features are priceless for quick prototyping.
- Sharing API Requests - Like Postman and Insomnia, Thunder Client allows you to share created request collections with your team members.
Where can you get TC?
Make sure you are using VS Code as your Code Editor, then download this extension from the Official Microsoft VS Code extension store -
Here's a great video on Thunder Client set up and use.
Features offered
According to the author, TC currently provides the following features -
- The Response data supports syntax highlighting using ACE Editor, which can handle large responses easily; you can also view responses in Full Screen
- History, Collections, and Environment Tabs in the Action Bar View for quick access.
- Authentication: Basic Auth, Bearer Token, and OAuth 2.0 are supported.
- Headers: You can send HTTP headers to test API with auto-complete support.
- Graphql: Send Graphql Query & Variables has syntax highlighting support.
- Environment Variables: Syntax highlighting support for environment variables use {variable} syntax in most fields
- Themes: The extension also supports VS Code themes.
- Request Runner: Run a Collection of requests at once
Final Thoughts...
Don't get me wrong. I am in no way implying that you should stop using dedicated API testing software. For comprehensive testing suites and advanced scripting, you will still need to use Postman. But if you are looking for a lightweight solution, then Thunder Client seems like a good option. The extension's author is quite active and has since added many features to the extension.