Test Automation

Automation Testing with Nightwatch JS and Cucumber: Everything You Need to Know

Automation Testing with Nightwatch JS and Cucumber: Everything You Need to Know

Software testing is a process to evaluate the functionality of an application, to verify if the specified requirements are met and to identify the defects for ensuring and availing a defect-free product. The process, when done manually by a human, is termed as manual testing and it demands efforts and time. In order to save the same, Automation Testing came as a concept. Automation Testing refers to setting up a procedure to implement the manual tasks automatically without it being monitored. The below diagram clarifies the concept better.

API Testing Using Postman and Newman

API Testing Using Postman and Newman

In the last few years, we have an exponential increase in the development and use of APIs. We are in the era of API-first companies like Stripe, Twilio, Mailgun etc. where the entire product or service is exposed via REST APIs. Web applications also today are powered by REST-based Web Services. APIs today encapsulate critical business logic with high SLAs. Hence it is important to test APIs as part of the continuous integration process to reduce errors, improve predictability and catch nasty bugs.

In the context of API development, Postman is great REST client to test APIs. Although Postman is not just a REST Client, it contains a full-featured testing sandbox that lets you write and execute Javascript based tests for your API. This blog talks about using Postman and its CLI tool - Newman to easily automate API Tests.