Tech Blog

Testing

An Alternative to Postman – REST Client

By Aster Veigas2 min read
← Back to blog

In Software Development Life Cycle (SDLC), testing is an essential phase and it can be performed manually or with the help of tools and scripts to automate this effort. As a developer, I came across a tool called Postman some time back which could cater to all my testing needs and is still very effective. As the product developed over time, I found it to be heavy and complicated, which gave me a reason to look out for alternatives.
A few years back I also happened to come across a free and lightweight code editor called Visual Studio Code (VS Code) which runs on Windows, macOS, and Linux. In the Stack Overflow 2021 Developer Survey, VS Code was ranked the most popular code editor. It is also lightweight. In my opinion, one of the major reasons for its popularity is the extensions marketplace. I generally run multiple tools simultaneously such as code editors, a reverse proxy, 42Gears based web apps and so on where machine resource utilization becomes the biggest concern. Few months back, I found an extension called REST Client which was popular in terms of rating and downloads. In this blog, we’ll explain how to install and use this extension.

Let’s get started!

Installation

After installing the VS Code, launch it and head over to the Extensions Marketplace. Search for Rest Client extension and install it.

Usage

Create a file with extension http as this extension searches for files with this extension.

Ex: test.http

Create a request that includes the request method, headers, and body. 

To execute the request, click on the Send Request hyperlink which appears on top of the request.

Multiple requests can be saved in a single file with the help of three of more # as a delimiter.

The response to the request will appear in a new tab.

Conclusion

This blog introduces and briefly explores the REST Client extension in VS Code which is lightweight and suitable for API testing. Since many developers use VS Code as a development IDE, this extension is worth a shot.

Extension Links

Keep reading

You may be interested in

Browse all articles →
Software Testing: Challenges and Solutions
February 8, 20244 min read

Software Testing: Challenges and Solutions

Introduction – Testing software is a crucial aspect of the development process. It makes sure that the product’s functionality works as expected, fulfills the user requirements, and makes sure it works without errors. In this blog, we will list down some of the most common challenges faced in software testing and conclude with how to […]

By Saboor ChandshahaRead More →
Streamlining Software Quality: The Power of Automating Black Box Testing
February 8, 20244 min read

Streamlining Software Quality: The Power of Automating Black Box Testing

Introduction :  In the dynamic realm of software development, ensuring the robustness and reliability of applications is of paramount importance. Black box testing, a technique that assesses software functionality without requiring knowledge of its internal code, plays a vital role in identifying potential defects. As the complexity of software systems continues to escalate, the manual […]

By Anthony Gilchrist G SRead More →
Implementing best practices for end-to-end testing in cloud migration
January 31, 20245 min read

Implementing best practices for end-to-end testing in cloud migration

Importance of End-to-End Testing Assume an organization’s core systems are now hosted on the cloud—a complex ecosystem linked by data threads. End-to-end testing is the foundation upon which the reliability and performance of this interconnected web is built. This rigorous testing technique makes it possible to detect vulnerabilities, optimize operations, and improve user experience. Active […]

By Rahul ChakravartiRead More →