This is a lightweight and extensible API Automation Framework built using Python, Requests, and Robot Framework, designed and developed by Prajwal Mishra.
š Overview
The framework supports:
REST API testing (GET, POST, PUT, DELETE)
JSON-based payloads and response validation
Status code validation
Test data separation using external files
Robot Framework test reporting
Easy-to-extend architecture for future enhancements
š Project Structure
api_automation_framework/ āāā data/ # Test payloads in JSON format āāā reports/ # Execution reports (HTML/XML/log) āāā tests/ # Robot test suites āāā utils/ # Helper Python classes (keywords) āāā conftest.py # Common test configurations āāā requirements.txt # Project dependencies āāā README.md # Project documentation
*** Test Cases *** TC01 Validate Create User API [Documentation] Validate response status and content for create user Create Session ${BASE_URL} ${payload}= Load Json From File ${DATA_DIR}/create_user.json ${response}= Send Post Request ${BASE_URL} /api/users json=${payload} expected_status_code=201 Should Be Equal ${response['name']} ${payload['name']} Should Be Equal ${response['job']} ${payload['job']}
šØāš» Author
Prajwal Mishra QA Automation Engineer š Created: May 28, 2025