Posts

REST API Automation Tutorial using Postman

Image
Automation has now become a norm across sectors, and when used in testing, it can undoubtedly improve the depth and scope of the tests. Since it is not possible to test everything manually, so using Postman automation can save our time as well as efforts. Postman is the ultimate tool for API automation. In this blog, we will be taking a look at how to achieve API automation using Postman.
Example Scenario for Automation using Postman:



Let’s say, a login API generates a Token (oAuth, JWT etc) and refreshes it every hour. The API utilizes this token to get the expected response. If we don’t automate, we will have to copy and paste this every time for each API. And for a test suite containing 100 API’s, a good amount of manual effort will go into pasting the token for each API. By introducing automation, this process of updating the newly generated taken can be automated.
Let’s automate the Login API through Postman Open Postman Application and create a collection. Then make a POST request…

REST API Tutorial - Manual Testing of APIs using Postman

Image
Manual API Testing using Postman Reliable API calls are critical to any decoupled application. Whether it a simple configuration change to an entity or updating the Drupal core, both of them can alter the API response and lead to application-breaking changes on the front-end. An API test suite can watch out for these API breaking changes by running a slew of tests against your endpoint. And when you need to create an API test suite, Postman delivers. Why Postman tool? Postman is a simple GUI for sending HTTP requests and viewing responses. It is built upon an extensive set of power tools, which are incredibly easy to use. Postman helps you perform a variety of functions ranging from organizing requests into collection and folders,sharing common values across requests with environment variables,scripting tests with the built-in node.js based runtime,and at last, automating it all using Postman’s very own CLI — Newman.





Install native Postman Application Postman for Mac/Windows/Linux: Go to 

Mobile Testing with Emulator: A step-wise guide

Image
What is an Emulator?An Emulator is an application that emulates real mobile device software, hardware, and operating systems, allowing us to test and debug our application. It is generally provided by the device manufacturer. Mobile emulators are free and provided as a part of SDK with each new OS release. As a developer or a tester, you can configure the emulator to closely resemble the devices on which you plan to deploy your application. The emulator window consists of a device screen on the left and phone controls/keyboard on the right. The device screen initially displays ‘ANDROID‘, and then displays the graphical logo, while the Android platform associated with the AVD is initializing. What is AVD Manager?
AVD Manager is a tool to create and manage Android Virtual Devices(AVDs), which define device configuration for the Android Emulator. Before you can actually run an emulator, you need to install the Android SDK on your machine and define an AVD, which defines the hardware charact…