Skip to content

This is a practice repo where I practice API Automation, Database Connections, AWS CSV ReadWrite & Web Scrapping

Notifications You must be signed in to change notification settings

rfnshare/API-Automation-With-Python

Repository files navigation

API-Automation-With-Python

A place for me to write down all of the little things I learn every day. This serves largely as a way for me to remember little things I'd otherwise have to keep looking up.

Many of these will be technical. Many of these will not.

Behold my periodic learnings, and judge me for my ignorance.

Tech and Team

"Worky" things. Mostly (or entirely) technical related to API Automation with python learnings.

Python Basic

  • Basics of python language.

JSON Parsing

  • Parsing JSON From Locally
  • Parsing JSON From File
  • Validate & Compare JSON

API Automation

  • Usage of Python requests library
  • GET request & Validate
  • POST, DELETE Request Call
  • Auth in API
  • Send Cookies, Redirection & Waiting while API calls
  • Upload File using API calls
  • Some method to organize API calls

Database

  • Setting up mysql database
  • Setup connection with mysql using python
  • Fetch Data from DB & Create API POST call Using DB data
  • Parallel Testing(DB & API)

Cucumber(Behave) BDD Framework

  • Setup Behave Framework & Configure Step Implement
  • Create Dynamic Scenario Outline to test with different Data
  • Create Behave Environment To call pre scenario/post scenario call
  • Reuse same step implement in different behave feature

Reporting

  • Generate Allure Report in JSON format
  • Setup allure cmd line to generate HTML report from JSON

CSV Read/Write

  • Read data from CSV File & Validate
  • Write data into CSV File

AWS

  • Setting up AWS instance
  • Connected aws using ssh, setup in terminal & ssh folder
  • Execute cmd using python to aws
  • Organize ssh connections into config function
  • upload/download batch-files into ssh server from local machine
  • run batch job into aws
  • Download batch update csv dile into local machine
  • Validate CSV Data

Web Scraping With Beautiful Soap

  • GET All Book Names using GET api
  • Scarp all books name by using response data
  • Scrap all books sub details & combine it
  • Upload into AWS & execute the script
  • Download the result into local machine

Postman API

Miscellaneous

Non-Technical Things

Non-work things: baking, gardening, and random cool trivia.

About

This is a practice repo where I practice API Automation, Database Connections, AWS CSV ReadWrite & Web Scrapping

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published