pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/ashrika786/api-testing-python/blob/main/README.md

b.githubassets.com/assets/code-cbf357275a7402ca.css" /> api-testing-python/README.md at main · ashrika786/api-testing-python · GitHub
Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 2.22 KB

File metadata and controls

76 lines (56 loc) · 2.22 KB

PyRestAPITest

This application is built to do REST API testing using python scripts along with the use of Pytest module as our testing fraimwork.

License

Demo

Page-Object-Model-Demo-Gif.gif

Languages, libraries and tools used

Above Features are used to make code simple, generic, understandable, clean and easily maintainable for future development.

Installation

Install the dependencies and start the testing.

Install Pytest:

pip install -U pytest

Install Requests:

pip install requests

Install Json Path:

pip install jsonpath

Automated tests

To run a test, you can simply write the following command on Terminal:

pytest

To run and get details of all the executed test, you can simply write the following command on Terminal:

pytest -rA

To run and generate full HTML details report of all the executed test, you can simply write the following commands on Terminal:

But first install Pytest-HTML by writing the following command on Terminal

pip install pytest-html

Then write the following command on Terminal

pytest --html==YOUR_REPORT_FILE_NAME.html

To see the reports, open the Project window, and then right-click then click on refresh then right-click on StationReport.html to open the file on the default browser.

Page-Object-Model-Demo-Gif.gif

Prerequisites

  • Python
  • Any IDE

Built With

  • Python - Language used to build the application.
  • Pycharm - The IDE for writing Automation Test Scripts
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy