Skip to content

This Repo is about Automation Testing of Ecommerce Website using Rest APIs with Python

Notifications You must be signed in to change notification settings

manishsaini7/PythonAPITesting

Repository files navigation

API Testing of Ecommerce Website using Python

This Repo is about Automation Testing of Ecommerce Website using Rest APIs with Python. To clone this repo install Local or AMPPS . Create WP website and install Woo Commerce plugin. Add Some Sample products to test backend APIs.

Tools Used : PyCharm, Local, MySQL Workbench

Framework Used : PyTest

Python Packages Used : pytest, PyMySQL, WooCommerce, pytest-html, requests, requests-oathlib

Web Server Used : Local (https://localwp.com/)

Database Used : MySQL

Website : WordPress Website with Woo Commerce Plugin

API Used : Woo Commerce REST APIs (https://woocommerce.github.io/woocommerce-rest-api-docs)

Test cases covered :

Customers

TCID29 - Create Customer and verify it. TCID30 - List All Customers TCID47 - Create Customer with Existing Email(Negative Testcase)

Products

TCID24 - Get All Products TCID25 - Get product by product ID TCID26 - Create Simple Product TCID51 - List product with filter 'after'

Orders

TCID48 - Place order with Guest User TCID49 - Place order with New User TCID55 - Update order status 'Cancelled' TCID56 - Update order status 'Completed' TCID57 - Update order status 'On-hold'

About

This Repo is about Automation Testing of Ecommerce Website using Rest APIs with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages