This framework can be used for testing restful APIs. framework is data driven where we can provide testcases for n number of APIs in excel sheet, and it will be picked and processed with API responses.
Library Used: OpenPyxl Requests
How We can execute it:
- /> cd API-Automation #Run on Linux OS
- /> source api_env/bin/activate
#For Windows OS Install virtualenv first https://www.geeksforgeeks.org/creating-python-virtual-environment-windows-linux
/>Python /Scripts/activate
3 and then /> python main.py press enter
Output: Check the result folder for output
Reports: Check results excel last sheet, contains graphs with number of test cases failed and passed
Happy testing....!!
Love automation.