API & Microservices Testing

3 Day Integrated API and Microservices testing Syllabus

Syllabus

1. Basics

  • 1.1  SOA Microservices and API
  • 1.2 What is Microservices?
  • 1.3 What is SOA?
  • 1.4 What is API?

 

2. Architectures compared

  • 2.1 SOA Vs Microservices
  • 2.2 API Vs Microservices
  • 2.3 Examples of API
  • 2.4   Examples of Microservices
  • 2.5 Understanding Microservices Architecture
  • 2.6  How Microservices Architecture Works

 

3. SOA API standards

  • 3.1 SOAP vs REST
  • 3.2 Web services architecture
  • 3.2.1 SOAP Basics
  • 3.2.2 Testing SOAP Requests (sopaui)
  • 3.2.2 WSDL
  • 3.2.4 Testing WSDL based stub generation (soapui)
  • 3.3 Test Design and Execution for SOAP with soapui

 

4. REST Architecture

  • 4.1 REST basics and Best Practices
  • 4.2  Basic Testing REST (Curl, Postman, RESTAssured)
  • 4.2.1 GET Reqeust
  • 4.2.2 POST Request
  • 4.2.3 PUT Request
  • 4.2.4. DELETE Request

 

5. Testing Life Cycle for API Testing

  • 5.1 Deriving Test Cases for API - Principles and Techniques with Example
  • 5.2 Test Management for API testing
  • 5.3 Methods -
    • Boundary Value
    • Equivalence Partitioning

 

6. Mocking REST Requests

  • 6.1 Mocking with SOAPUI
  • 6.2 Mocking in PostMan
  • 6.2.1 Recording Responses

 

5. Securing REST Requests

  • 5.1 Authentication with POSTMan
  • 5. 2  Authentication with RESTAssured

 

6. Assertions and Automation Testing  (POSTMan)

  • 6.1 Different types of Assertions
  • 6.2 Response Code Assertions
  • 6.3 JSON Content Inspection Assertion
  • 6.4  Header Inspection Assertions
  • 6.5 Variables at different scopes - global, session
  • 6.6 Pre-Request Scripts
  • 6.7 Test Scripts

 

7. Data Driven Automation testing

  • 7.1 Loading Data from Excel for automation in POSTMan
  • 7.2  Collection Requests
  • 7.3 Command Line Execution with POSTMan

 

8. Orchestration of REST Services in POSTMan

  • 8.1 Simple Sequence of Services
  • 8.2 Chaining of Services

 

9.. Extending testing to microservices

  • 9.1 Reusing API Testing for Microservices
  • 9.2 Orchestration testing of microservices
  • 9.3 Service virtualization for microservices testing

 

10. Tool Demos (Additional to the ones already covered in POSTMAN)

  • 10.1 CURL
  • 10.2 RestAssured