Api Testing Python

Best for newbies | Rest API Testing | Python for Automation | Json Validations | PyTest Implementation

Last updated 2022-01-10 | 4.4

- Detailed knowledge of API Testing using Python(Requests) and its implementation while working as an API Tester
- Ready to face API Automation testing interviews & also answer scenario based questions
- Detailed understanding of RestAPI
- Different Methods(GET
- POST
- PUT
- DELETE
- PATCH) & JSON Format

What you'll learn

Detailed knowledge of API Testing using Python(Requests) and its implementation while working as an API Tester
Ready to face API Automation testing interviews & also answer scenario based questions
Detailed understanding of RestAPI
Different Methods(GET
POST
PUT
DELETE
PATCH) & JSON Format
Detailed understanding of advance concepts like JSON Handling
PyTest Framework
Allure Reporting
Detailed practice understanding of Python concepts(including OOPS) and its implementation in Realtime Project

* Requirements

* Basic understand of Manual Testing Concepts and Implementation
* Basic understand of Writing TestCases and Test Scenario.
* Basic understanding of Requirement Documents
* How to read and understand requirements

Description

Looking to Automate REST API Testing using Python ? Then you are on the right place.

This course will help you to understand API & Python programming from Scratch to Expert Level. It is specially designed by keeping Software Testing in mind so almost all already/libraries of API Testing using Python which are required in automation would be covered in his course.


Python in not just use for web browser automation but also can use for following
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

  • Read | Search  & validate data in excel

  • Have to pull text off of several web pages?

  • Copy thousands of files from one location to another

  • Perform repeatable tasks in single click

  • Rename multiple files & folders within a second.

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 update a existing resource or create a new resource.

  • DELETE - Used to remove a resource.

  • POST - Used to create a new resource.

➖➖  BASICS OF API TESTING AND AUTOMATION ➖➖


  • Learn how to send  REST Requests 

  • What is API, Different Between SOAP and REST API

  • Different CRUD Operation and Its Implementation

  • GET | POST | PUT | DELETE

  • Basic understanding of MicroServices

  • Authentication approaches (BASIC,OAUTH)

  • How to Handle Header & Pre-requisite


    ➖➖➖➖ ADVANCE CONCEPTS ➖➖➖➖

  • How to Setup Environment for Python Scripting

  • Write basic Python Programming

  • Condition Handling, Looping

  • Working with Excel File (OpenPyXL)

  • How to Handle JSON file

  • Basic to advance JSON Path

  • How to Handle CSV file

  • JSON Parsing

  • PyTest Framework

  • Send different types of requests

  • Assert Response Data

  • Allure Reporting

  • Data Drive n Framework

  • Keyword Driven framework

  • Assertions

  • Request Channing


    ➖➖➖➖ REALTIME SCENARIO ➖➖➖➖

  • End to End Student Student Enrollment

  • Request Chaining

  • Final execution with report generation and analysis

  • Run API tests in Jenkins

  • Code Management using GIT

  • Scenario implementation on RealTime API Application

  • End to End Scenario building and once click execution

  • Collection Execution from command prompt

Who this course is for:

  • Manual testers/QA/Testing Professionals looking to automate Restful API Testing
  • Professionals/Automation Testers looking to test Rest API application using Python
  • Automation testers looking opportunity in API Automation
  • Developers, SDET's, Devops, IT Professionals working on API

Course content

27 sections • 167 lectures

Course Introduction and Architecture Preview 04:32

What is WebService Preview 06:16

WebService Example Preview 05:14

Difference between Webbased application and Webservice Preview 05:58

Difference between API and WebService Preview 05:01

Introduction to Micro Services Preview 05:29

***** Check Your Knowledge *****

Installation Roadmap Preview 02:34

Step 1 : Python Installation Preview 03:47

Step 2 : Pycharm Installation : Editor for Python Preview 03:51

Step 3: PIP Setup Preview 02:52

Step 4 : Request Package Installation Preview 01:53

***** Check Your Knowledge *****

First Python Code : Create Python File, Comments & Print on Console Preview 13:14

How to take user input and use it in programming Preview 12:19

How to Declare and use Variables in Python Preview 07:47

Constants and Type Casting in Python Preview 11:14

Standard datatypes in Python : Number, String, List, Tuple & Dictionary Preview 10:36

Condition Handling using If - Handle Single Condition Preview 13:09

Condition Handling - Handle 2 Conditions Preview 06:33

Condition Handling - Handle Multiple Conditions Preview 08:10

Condition Handling using - Nested Conditions Preview 09:23

Condition Handling with Logical OR and Logical AND Preview 13:37

Introduction of Loops Preview 02:30

For Loop with Final Range Preview 05:37

For Loop with initial and final range Preview 07:50

For loop with increment value Preview 02:49

For loop with decrement value Preview 04:22

For loop with list Preview 06:30

While Loop with increments Preview 05:15

While loop with decrement Preview 03:24

Break Statement Preview 05:30

Continue Statement Preview 03:21

Else Statement Preview 02:02

What is String and basic operations Preview 14:53

String : Fetch Substring Preview 07:39

Common String Functions - Part 1 Preview 04:46

Common String Functions - Part 2 Preview 05:16

Common String Functions - Part 3 Preview 10:20

Common String Functions - Part 4 Preview 06:11

Work on List Preview 09:22

List function Preview 03:31

Work on Tuple Preview 06:33

Tuple advance operations Preview 05:54

Dictionary basics Preview 05:58

Dictionary Methods Preview 02:44

Functions Basics Preview 07:02

Rules to create functions Preview 03:55

Different types of functions Preview 05:31

Functions with return value Preview 07:00

Different types of arguments Preview 09:41

Create first class Preview 05:43

Functions in Class Preview 06:09

Constructors Preview 05:07

Create Object in another file Preview 05:41

What is Module Preview 05:43

How to Use Modules Preview 07:58

Creating Project Structure Preview 06:43

Difference between import and from-import Preview 10:16

File Handling : Read Data from File(.txt) Preview 05:18

File Handling : Read character by character and line by line Preview 03:44

File Handling : Write data to File(.txt) Preview 02:35

File Handling : Common file methods Preview 02:33

What is Exception and Exception Handling Preview 05:08

Handle Exception using try, exception and finally Preview 05:23

Prepare configuration files Preview 04:01

Read data from config file Preview 05:58

Goal of this sections Preview 00:12

Basic understanding of JSON Preview 09:40

What is JSON Path | Calculate JSON Path Preview 06:03

JSON Path Advance Options Preview 05:44

Making a GET request using python Preview 10:10

Validate Status Code Preview 02:53

Fetch Response Header Values Preview 05:42

Fetch Response Content - using Json Path Preview 07:03

Fetch Response Content - using Advance Json Path Preview 04:54

Create New Resource - POST Request - Part1 Preview 08:29

Create New Resource - POST Request - Part2 Preview 05:51

Update Resource on Server : UPDATE Method Preview 06:04

PyTest Introduction Preview 05:38

Pytest Installation : pip install pytest Preview 00:53

Write Test Case in Pytest format Preview 07:40

Write Multiple Test Cases and Execute testcases together Preview 08:18

Write Multiple Test Cases in a File : Check Execution Options Preview 08:46

Skip Test Cases | Execute test cases conditionally Preview 09:06

Grouping Test Cases : Tagging and Execute using tags Preview 17:57

Assertions : Compare Actual Result with Expected Result Preview 06:24

Fixtures : Execute Code Before and After Test Case Preview 13:08

Reporting in Pytest Preview 05:25

Write and Execute Code using Pytest Preview 07:22

Conditional Execution + Fixture Preview 10:59

Grouping TestCases Together Preview 05:00

Add new Data | Post Request Preview 08:02

Fetch Student Data | GET Request Preview 05:45

Update Student Data | PUT Request Preview 03:26

Delete Student Data | DELETE Request Preview 03:00

Basic Authentication Preview 05:08

oAuth Authentication Preview 09:07

Create Test Case to Execute with Single Data Preview 06:54

Read Data from Excel and use it in Test Case Preview 14:20

Write Data Driven Test Case - Multiple File - Part 1 Preview 07:59

Write Data Driven Test Case - Multiple File - Part 2 Preview 07:42

Write Data Driven Test Case - Multiple File - Part 3 Preview 07:25

Allure Introduction & Setup Preview 13:55

Generate JSON formatted reports Preview 03:45

Convert JSON Report to HTML Report Preview 02:42

Introduction to Git & GitHub Preview 08:32

Setup Git and GitHub Preview 05:34

Configure GIT with Username and Email Preview 03:27

Create Local Repository Preview 03:26

Commit File to Local Repository Preview 06:05

Undo Files from Stage to Untrack Preview 04:28

Check and Discard Changes Preview 02:48

Push Code to Remote Repository Preview 03:48

Clone Repository Preview 03:20

Step 1 : Setup Java Preview 05:35

Step 2 : Download Jenkins War & Setup Plugins Preview 06:44

Step 3 : Configure Paths on Jenkins Preview 08:52

Step 4 : Setup Allure Reporting Options Preview 04:44

Fetch Code from Github Preview 03:33

Setup Environment Variable Preview 03:25

Run batch file to install library Preview 04:14

Execute Test Case using Pytest Preview 03:59

Installation Roadmap Preview 03:05

Installation Step 1: Setup Python Preview 00:03

Installation Step 2: Setup PyCharm Preview 00:03

Installation Step 3: Setup Intellibot Plugin Preview 02:15

Installation Step 4: Configure PIP Preview 03:36

Installation Step 5: Setup Library using PIP Preview 02:39

Installation Step 6: Install JSON Library Preview 04:16

Different Files in Robot Framework Preview 03:11

Sections in Robot file Preview 06:34

Rules to be Followed in Robot TestCases Preview 05:17

Define and Use Variables Preview 05:35

Write First Test Case - Get Request Preview 09:12

Get Request & Validate Status Code Preview 10:54

Validate content using JSON Path Preview 11:55

GET Request with Parameters Preview 13:39

Delete Data | Delete Request Preview 08:18

Add new Data | Post Request Preview 10:37

Update Data | Put Request Preview 06:44

End to End Scenario - Part 1 Preview 12:22

End to End Scenario - Part 2 Preview 08:48

Write Keywords in TestCase File- Using Existing Keywords Preview 04:49

Write Keywords in Resource File- With Argument Preview 08:05

Write Keywords in Resource File- With Argument and Return Value Preview 03:53

Write Keywords in Resource File- Using Python Programming Preview 11:17

Reports in Robot Framework Preview 05:40

Work with TestSuites Preview 12:15

Documentation and Timeout Preview 09:54

Setup and TearDown Preview 09:31

Control Execution through Tags Preview 13:09