Introduction to API Testing

Course Overview:

This course is designed to cover all aspects of API Testing & Postman tool and also to provide users with the knowledge required to work with Postman tool at a professional level. This course addresses planning and performing API tests, developing the pre-test & post-test scripts using Postman, executing the API tests and generating HTML reports using different tools like Newman.

The course covers real-world best practices for effective use of Postman tool for API testing with practical examples demonstrated. Postman is a popular automation tool for API testing. Postman offers features that simplify each step of testing an API.

Course Objectives:

  • Introduction to web application architecture
  • Advantages of API
  • What does API testing involve
  • Functional Testing of Web Services
  • Importing request from your browser

Pre-requisites:

  • An understanding of HTTP
  • NodeJS/NPM experience

Target Audience:

  • Software Testers

Course Duration:

  • 28 hours – 4 days

Course Content:

API Introduction

  • Introduction to web application architecture
  • Introduction to APIs
  • Introduction to Web-Services
  • How does an API works
  • What is API testing?

API TESTING USING POSTMAN– FOUNDATION COURSE

  • Advantages of API
  • API vs Web-Services
  • Introduction to API architecture
    • REST API
    • SOAP API

Understanding how REST API architecture works

  • Understanding how SOAP API architecture works
  • Understanding the HTTP methods
    • GET
    • POST
    • PUT
    • DELETE
    • PATCH
    • OPTIONS
    • HEAD

API TESTING

  • What does API testing involve
  • Validation techniques used in API testing
  • API testing steps
  • Understanding URI, end points, Resources, HTTP verbs
  • Understanding GET request
  • Understanding POST request
  • Understanding PUT request
  • Understanding DELETE request
  • GUI tools available for API testing
  • Command-line tools available for API testing
  • Best Practices for API testing

INTRODUCTION TO POSTMAN API TESTING TOOL

  • What is Postman tool
  • Installation of Native Postman tool
  • Installation of Postman tool as Chrome Add-on
  • Introduction to Postman landscape
  • Introduction to Postman Settings

API TESTING USING POSTMAN

  • Creating First API request using Postman
  • Functional Testing of Web Services
  • Understanding History
  • Setting up Test Project with REST APIs
  • Validating responses with Postman client
  • Validating the body of first JSON response
  • Examples on validating response headers and status codes
  • Understanding query parameters on sending request
  • Validating status code
  • Validating Response time
  • How to debug & troubleshoot
  • How to create and manage Workspaces

API TESTING USING POSTMAN – FOUNDATION COURSE

  • Importing request from your browser
  • Cookies
  • Saving Responses
  • Creating collections in Postman tool
  • Importing/Exportingcollections using Postman tool
  • Run Collections Remotely with URL
  • Creating variables at difference scope levels and how to refer them
  • How to set and get variables through scripting
  • Creating Environments
  • How to setup different URLs using environments
  • How to create quick scripts
  • Pre-request scripts
  • Test scripts/Assertions
  • Make the requests dynamic by taking advantage of variables
  • Generating code snippets in Postman tool

POSTMAN API AUTOMATION-PART 1

  • Collection Runner
  • Postman monitors
  • Automating with Newman tool
  • Basic introduction to NPM tool &NodeJS
  • Installing NodeJS
  • Installing Newman tool
  • Running a collection with Newman tool
  • Specifying environments in Newman tool
  • Creating an HTML report using Newman tool
  • Using Authentication/Authorization in Postman tool
  • Introducing delays for scheduled or continuous load API testing

POSTMAN API AUTOMATION – PART 2

  • Automating POST request with payload
  • Grabbing the response body into string for advance validations
  • Data-Driven testing using

CSV

JSON

  • Scheduling the API testing periodically
  • Load testing of API testing in Postman tool
  • Running and analyzing Load Test results
  • Shortcut methods to convert Raw data to XML/JSON
  • Logging feature to debug automation scripts
  • Using Postman to Create a Reusable API Framework
  • Testing Workflow with Twitter API

 

Course Customization Options

To request a customized training for this course, please contact us to arrange.

 

Best selling courses

PROJECT MANAGEMENT

Agile Program Management

CLOUD COMPUTING

Cloud Architect

CYBER SECURITY / BLOCKCHAIN / NETWORK

Combined JAVA, PHP and Web Application Security

ARTIFICIAL INTELLIGENCE / MACHINE LEARNING / IOT

Natural Language Processing

PROGRAMMING / CODING

C++ Programming