Web Services API Testing




WHO CAN LEARN?
  • Manual Testers who wish to learn Automation Testing.
  • Automation Testers who wish to learn API/WebServices Testing.
  • REST API testers who want to test their API’s using Open source and free library.

DEMO




CURRICULUM

Module1: Basics of API & Web services Testing  
  • What is Client and Server?
  • Client Server architecture
  • Presentation, Business & Database Layers
  • What is Request & Response
  • What is API
  • What is API Testing
  • API Testing VS Unit Testing
  • What is Web Service
  • Difference between API & Web service
  • Components of Web services ( WSDL & UDDI)
  • Types of Web services
  • SOAP VS Rest services
  • URI, URL & URN
  • API/Web service testing challenges
  • Web Service API testing tools
  • Web services API Testing process
  • What to test in Webservices /API Testing
  • HTTP Methods(GET/POST/PUT/DELETE)
  • Status Codes
  • Examples of Web service API's


 Module 2: API Testing using Postman 
  • Download and Install Postman
  • Postman Navigation
  • Creating Requests & Analyzing Response
  • Request Parameters in Postman
  • Postman Collections
  • End to End test case(GET , POST, PUT , DELETE)
  • Basic Authentication in Postman
  • Test and Collection Runner in Postman
  • Workflows in Postman
  • Pre-Request Script in Postman
  • Variables in POSTMAN
  • Environment/Global variables
  • Adding Postman Environment
  • Postman workspace
  • How to share collections in workspaces
  • Postman Coding
  • Data Driven testing using Json & CSV files
  • How to Run data-driven Tests
  • JSON, XML & HTML Payloads
  • Authorization Types in Postman
  • Run Postman tests in command Line
  • Generating Reports in Postman
  • Real Time Examples - Facebook API
  • Importing Facebook API's into Postman
  • How to handle SOAP Web service Requests in Postman


Module 3: SOAPUI (Functional Testing) 
  • What is SoapUI? Why to use SoapUI
  • How to Download and Install SoapUI
  • GUI components of SoapUI
  • How to create a SOAP API Project
  • How to add WSDL
  • How to create Test Suite - Test Cases
  • How to add Assertions
  • Run Test Step - Test Case - Test Suite
  • How to run in sequence and in parallel
  • How to create API Documentation
  • Create a REST Project
  • Add a REST request 
  • How to add request parameters
  • Create a Test Case
  • Add assertions  
  • Run and Validate
  • What are assertions? Why do we add assertions
  • Diff types of assertions in SoapUI
  • What is property in SOAPUI? Why do we use it
  • How to create properties at different levels
  • How to refer properties
  • How to add groovy scripts in SoapUI
  • Property Transfer/Value Transfer
  • Parameterization /Data Driven testing
  • Working with Data Sources in SOAPUI Pro/ReadyAPI
  • Data Driven Testing using Excel file
  • Data Driven Testing using Text File
  • Data Driven Testing using Grid
  • Data Driven Testing using JDBC
  • Data Source - Data Generation
  • Data Source loop and Data Sink
  • How to run a Tests from SOAPUI GUI
  • Generate Reports in SOAPUI
  • How to run a Tests from Command Line
  • Generate reports from Command Line
  • Real Time Examples - Flickr & Google Maps
Module 4: SwaggerUI 
  • Swagger UI overview
  • The Swagger UI Petstore example
  • Authorize your requests
  • Make a request
  • Verify that your pet was created
  • Some sample Swagger UI doc sites
  • Create a Swagger UI display with an OpenAPI spec document


Module 5: Web Service API Automation Testing using REST Assured 
  • Introduction to HTTP methods
  • REST Assured Setting up environment (Eclipse, Maven & TestNG)
  • Send GET request using REST-Assured
  • Send POST request using REST-Assured
  • Send PUT request using REST-Assured
  • Send DELETE request using REST-Assured
  • REST-Assured Extracting values from the response.
  • Validating Response codes and status line
  • JSON Schema Validation
  • Validating Headers
  • Rest Assured End-to-End Test Case
  • How to run API tests using Maven CLI
  • Run Rest Assured tests in Jenkins
  • Real world Scenarios