Skip to content

NadeemMohammad/rest-api-requests-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing RESTful APIs in Python with requests

Run Test

  1. Open Terminal
  2. Go to project location
  3. Enter pytest and hit enter key

Capture stdout

  1. Open Terminal
  2. Go to project location
  3. Enter pytest -sv --capture=sys and hit enter key

Generate HTML Report using pytest-html

  1. Open Terminal
  2. Go to project location
  3. Enter pytest -sv --capture=sys --html=report.html and hit enter key

HTML Report

HTML Test Report

About

Testing RESTful APIs in Python with requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%