What is Automation Testing? Get Started With Postman

0 0
Read Time:3 Minute, 28 Second

Automation Testing

We all are familiar with manual testing like filling up forms, checking the URLs are broken or not, API responses etc. But this process can be extremely time consuming, repetitive and then eventually you don’t bother.

On the other hand Automated Testing is, well, automated.

This differs from manual testing, its a technique to test and compare the actual outcome with the expected outcome by using special automated tools like Telerik Test Studio, Selenium, Postman etc, also known as Quality Assurance Tools

Types of Automation Tests:

  • Unit Testing
  • Smoke Testing
  • Functional Testing
  • Integration Testing
  • Regression Testing

But let’s talk about Postman.

Postman is a free and popular API client tool that makes it easy for developers/quality analysts to create, share, test and document APIs.

This is done by allowing users to create and save simple and complex HTTP/s requests, as well as read their responses.

It’s a scalable API testing tool that quickly integrates into CI/CD pipeline.

Why Automation and Postman?

APIs or Web APIs pretty much drive most of the user-facing digital products.

There are many websites/online applications/REST APIs coming up every day, and with 5 million online users, Postman tool has become an ideal choice.

Download and Install POSTMAN – Open Source tool, go to https://www.postman.com/downloads/ and choose your desired platform among Mac, Windows or Linux.

Steps to follow for Automation Testing:

  1. Understand the API :
    APIs is a set of tools, definitions, and protocols for integrating application. REST APIs can be used over nearly any protocol, it usually takes advantage of HTTP when used for Web APIs.

    One should be aware of the structure of the API, the communication layer and the output schema. With these 3 layers knowledge you can create the basic APIs required for any application, like: GET, POST, PUT, DELETE

  2. Build a Test Suite:
    Test Suites are basically containers that run in the background to run specific test-cases or instructions to match against a given output or datasets & reporting the execution status.

    Testers create their Test Plans with use of industry defines standards, some commonly used are ChaiJS, Jasmine, JUnit etc. One can use Post man to create such test plans as collections and run them efficiently.

  3. Define Automation Tasks:
    Task automation is the application/tool used to minimize or eliminate the need for human intervention in order to complete a task and controlling their performance automatically.

    You can define any task like Checking HTTP Header response is 200 and OK, and turn it into a repetitive & automated task for every API build. Tasks are nothing but set of rules that get checked against an API.

    It’s response and status is recorded, a summary is generated for evaluation and more.

  4. Test Execution:
    Test execution is the process of executing the test-cases and comparing the expected output, to ensure the fulfillment of software or business requirements.

    Test Execution has mainly 3 important steps – Executing the Test Cases, Test script maintenance and Reporting.

  5. Maintenance:
    Testing is done to either to identify any problems or effectiveness of the API/Application. Some tests are done pre-release and sometimes after its live.But we keep evolving the API/Application with new features and upgrades. This requires continuous checks and maintenance activity on our Test Suites.Some types of Maintenance are Condition-Based Maintenance, Predictive Maintenance and Corrective Maintenance. These 2 types can help you evolve the Test Suites significantly


Less words, more action….!

Try out the MyToDo App Mock API

I have created a simple collection for Automated Test Suite with Postman.

Goto my GitHub Repo “mockapihttps://github.com/austinnoronha/mockapi/ and you can either run the Test Suite on Postman Desktop or Download the Collection.

Try to tweak and change it with mores Test-Cases & have fun.

Some Important Links for you next Text Suite with Postman


If you really liked the article, please like and share this article with your friends!

Be honest….

What do YOU think????

Leave a Reply