How to test Your API inside VSCODE

Hey All ? .

Recently I got to know about a VS Code extension called Thunder Client⚡⚡ which can be used to test our API inside VS Code.
How Cool ? is that to test our API in the editor that we use all the time.

Thunder Client is a GUI-based Rest Api …


This content originally appeared on DEV Community and was authored by Mukul Singhal

Hey All ? .

Recently I got to know about a VS Code extension called Thunder Client⚡⚡ which can be used to test our API inside VS Code.
How Cool ? is that to test our API in the editor that we use all the time.

Thunder Client is a GUI-based Rest Api HTTPS client and has a very clean UI and easy-to-use interface.

One of the key highlights of this extension is Scriptless Testing

As we need to write a lot of boilerplate code in Postman and other clients to do basic testing using scripting like status code equal 200. In Thunder client, there is a GUI-based test where we can select a couple of dropdowns to do most standard tests very easily without any scripting knowledge.
As you can see in the image below

? How to install

  • First of all open your VS Code and Click on extensions on the sidebar and install thunder client.

Alt Text

  • now you will see a icon on side bar Alt Text

Lets test Thunder client a little bit

  • for testing you can create your own API or you can use

https://gorest.co.in/

and get your authentication token and you are good to go.

below you can see Thunder Client in action in Below GIF

  • GET request

Alt Text

  • POST request in which we create a GUI based Test

Alt Text

Now you can play around thunder client a little more.

Let me know your thoughts about it ?and if you like it share it with others.

end


This content originally appeared on DEV Community and was authored by Mukul Singhal


Print Share Comment Cite Upload Translate Updates
APA

Mukul Singhal | Sciencx (2021-05-07T11:19:59+00:00) How to test Your API inside VSCODE. Retrieved from https://www.scien.cx/2021/05/07/how-to-test-your-api-inside-vscode/

MLA
" » How to test Your API inside VSCODE." Mukul Singhal | Sciencx - Friday May 7, 2021, https://www.scien.cx/2021/05/07/how-to-test-your-api-inside-vscode/
HARVARD
Mukul Singhal | Sciencx Friday May 7, 2021 » How to test Your API inside VSCODE., viewed ,<https://www.scien.cx/2021/05/07/how-to-test-your-api-inside-vscode/>
VANCOUVER
Mukul Singhal | Sciencx - » How to test Your API inside VSCODE. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/05/07/how-to-test-your-api-inside-vscode/
CHICAGO
" » How to test Your API inside VSCODE." Mukul Singhal | Sciencx - Accessed . https://www.scien.cx/2021/05/07/how-to-test-your-api-inside-vscode/
IEEE
" » How to test Your API inside VSCODE." Mukul Singhal | Sciencx [Online]. Available: https://www.scien.cx/2021/05/07/how-to-test-your-api-inside-vscode/. [Accessed: ]
rf:citation
» How to test Your API inside VSCODE | Mukul Singhal | Sciencx | https://www.scien.cx/2021/05/07/how-to-test-your-api-inside-vscode/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.