HibaShabbir / Sqe-Project

0 stars 0 forks source link

Api Testing #17

Open esha361 opened 2 years ago

esha361 commented 2 years ago
  1. API testing is a type of software testing that analyzes an application program interface to verify it fulfills its expected functionality, security, performance and reliability.
  2. API testing is important for ensuring that your API performs as expected when faced with a wide variety of expected and unexpected requests.
  3. This process is designed to not only test the API's functionality — but also its reliability, performance, and security.
  4. The tests are performed either directly on the API or as part of integration testing.
  5. Furthermore, to perform API testing, do following steps:
  6. Install python installer on your device.
  7. Install pycharm framework on your computer.
  8. Create a new project on pycharm.
  9. Include python installer(64-bit) package in pycharm.
  10. Click on the project and then go to settings.
  11. Add necessary project interpreters including requests, behave and json ect.
  12. Create a file in your project for api testing
  13. Import json and requests interpreters
  14. Include URL for which you want to test the api
  15. Include necessary headers
  16. Write code
  17. Run your file and analyze the result
  18. I am attaching a plyalist link for further clearification:
  19. https://www.youtube.com/watch?v=3ts5fzmhN5o&list=RDCMUCsdoSHH5bucBf_wwtvWJfnQ&start_radio=1&rv=3ts5fzmhN5o&t=2