4 out of 5
4
114 reviews on Udemy

Step by Step Rest API Testing using Python + Pytest + Allure

Best for newbies | Rest API Testing | Python for Automation | Json Validations | PyTest Implementation
Instructor:
Testing World Infotech
917 students enrolled
English [Auto-generated]
** Will be ready to design REST API Testing automation framework ***
** Will be ready to face REST API automation testing interviews ***
** Will be able to automate realtime API, from scratch to advance level ***
** Will have detailed understanding of API, its terminology & best practices to automate them ***

In this course we are going to automate and validate API’s using Python Scripting

We are going to cover following well known HTTP methods are commonly used in REST based architecture.

  • GET – Provides a read only access to a resource.

  • PUT – Used to create a new resource.

  • DELETE – Used to remove a resource.

  • POST – Used to update a existing resource or create a new resource.

Coverage

1.  REST API Concepts

2.  End to  End Environment Setup

3.  Automate different operations of API

4.  Pytest

5.  Interview Questions

6.  Realtime scenario

WebService/API Introduction

1
What is WebService
2
WebService Example
3
*** Course Architecture : Must for Everyone ***
4
Advantage of WebService over WebBased Application
5
Difference between API and WebService
6
Different type of Services : Soap and Rest
7
Difference between Soap and Rest Services

Setup Environment

1
Step 1 : Python Installation
2
Step 2 : Pycharm Installation : Editor for Python
3
Step 3 : Request Package Installation

Play with JSON

1
Goal of this sections
2
Basic understanding of JSON
3
What is JSON Path | Calculate JSON Path
4
JSON Path Advance Options

JSON Parsing using Python

1
**** Important Note *****
2
Work with JSON

REST API Basics

1
Different methods used in REST API
2
What is Rest API with Parameters

API Testing Kickoff

1
Making a GET request using python
2
Validate Status Code
3
Fetch Response Header Values
4
Fetch Response Content - using Json Path
5
Fetch Response Content - using Advance Json Path

Delete Resource

1
Delete User

POST & PUT Requests

1
Create New Resource - POST Request - Part1
2
Create New Resource - POST Request - Part2
3
Update Resource on Server : UPDATE Method

Customised Requests

1
Add Customised Header
2
Add Parameters

PyTest : Unit Testing Framework for Python

1
Pre-requisite to learn Pytest
2
Sample Code
3
Pytest Installation Step 1: Install Python and Pycharm
4
Pytest Installation Step 2: Install Pytest
5
PyTest Introduction
6
Write Test Case in Pytest format
7
Skip Test Cases | Execute test cases conditionally
8
Grouping Test Cases
9
Fixtures
10
Assertions

Write Code using Pytest

1
Write and Execute Code using Pytest
2
Conditional Execution + Fixture
3
Grouping TestCases Together

PROJECT - 2 : Student Management System

1
Add new Data | Post Request
2
Fetch Student Data | GET Request
3
Update Student Data | PUT Request
4
Delete Student Data | DELETE Request

End to End test case with Verification

1
End to End Test Case
2
Request Chaining

Authentication

1
Basic Authentication
2
oAuth Authentication

Data Driven Testing

1
Create Test Case to Execute with Single Data
2
Read Data from Excel and use it in Test Case
3
Write Data Driven Test Case - Multiple File - Part 1
4
Write Data Driven Test Case - Multiple File - Part 2
5
Write Data Driven Test Case - Multiple File - Part 3

Reporting with Allure

1
Allure Introduction & Setup
2
Generate JSON formatted reports
3
Convert JSON Report to HTML Report

Code Management using GIT

1
Introduction to Git & GitHub
2
Setup Git and GitHub
3
Configure GIT with Username and Email
4
Create Local Repository
5
Commit File to Local Repository
6
Undo Files from Stage to Untrack
7
Check and Discard Changes
8
Push Code to Remote Repository
9
Clone Repository

Batch File and Share Code on GitHub

1
Create Batch File
2
Push Code to Remote Repository

Setup Jenkins on Windows Machine

1
Step 1 : Setup Java
2
Step 2 : Download Jenkins War & Setup Plugins
3
Step 3 : Configure Paths on Jenkins
4
Step 4 : Setup Allure Reporting Options

Create Job on Jenkins

1
Fetch Code from Github
2
Setup Environment Variable
3
Run batch file to install library
4
Execute Test Case using Pytest

Integrate Allure Reporting

1
Generate Allure Report
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4
4 out of 5
114 Ratings

Detailed Rating

Stars 5
39
Stars 4
33
Stars 3
18
Stars 2
8
Stars 1
16
edd4ae74f289bacb14e5317ac3cb4302
30-Day Money-Back Guarantee

Includes

7 hours on-demand video
4 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion