Skip to content

This repository is my initial attempt to build API automation using Python. It focuses on understanding the basics of API testing, writing automated tests with Pytest, and validating API responses in a structured way. The project is meant for learning and practice, helping me explore how API automation works, how tests can be organized, and how co

Notifications You must be signed in to change notification settings

PrasadHelaskar/API-automations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

API Automations

This repository is my initial attempt at building API automation using Python.
The goal of this project is to understand the fundamentals of API testing and how automated API tests can be structured using Pytest.

This is a learning-focused project, created to practice API automation concepts and gradually evolve into a more structured and reusable framework.


πŸ“Œ Objectives

  • Learn how API automation works in real scenarios
  • Write automated API tests using Python
  • Understand request/response handling
  • Validate API responses using assertions
  • Organize API tests in a clean and readable structure

πŸ›  Tech Stack

  • Python
  • Pytest
  • Requests library
  • JSON-based API responses

πŸ“‚ Project Structure (High Level)

API-automations/
β”œβ”€β”€ tests/ # API test cases
β”œβ”€β”€ requirements.txt # Project dependencies
β”œβ”€β”€ pytest.ini # Pytest configuration
└── README.md # Project documentation

(Structure may evolve as the project grows)


▢️ How to Run the Tests

1️⃣ Install dependencies

  pip install -r requirements.txt

###2️⃣ Run all tests

  pytest

πŸ§ͺ What This Project Covers

  • Sending API requests (GET, POST, etc.)
  • Validating status codes
  • Validating response bodies
  • Basic test organization using Pytest
  • Understanding API automation flow end-to-end

🚧 Project Status

🟑 In Progress

This is an early-stage project and will be improved step by step as I continue learning API automation concepts and best practices.


πŸ“ˆ Future Improvements

  • Better configuration management
  • Environment-based execution
  • Authentication handling
  • Improved test structure
  • Reporting and logging
  • More real-world API scenarios

πŸ“„ Disclaimer

This repository is created for learning and practice purposes.
It reflects my initial exploration into API automation and is not intended to be a production-ready framework (yet).


πŸ™Œ Author

Prasad Helaskar
Automation Tester | Python | API & UI Automation


About

This repository is my initial attempt to build API automation using Python. It focuses on understanding the basics of API testing, writing automated tests with Pytest, and validating API responses in a structured way. The project is meant for learning and practice, helping me explore how API automation works, how tests can be organized, and how co

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages