API Testing using POSTMAN - Advance Test Cases

ItsTechMode
ItsTechMode
62.4 هزار بار بازدید - 8 سال پیش - Become better Automation Tester -
Become better Automation Tester - http://thetestingacademy.com New API testing Tutorials - https://scrolltest.com/ 🗣 Join Now - Mastering API Testing using Postman 2019-2020 Course :  https://learnapitesting.com/join-now.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Checkout Blog POST - http://scrolltest.com/2017/01/21/api-...

In this tutorial, We are going to write the test case in POSTMAN for API Testing. This include

1. JSON Validation
2. Response Time
3. Keys defined
4. Values as Expected (Data driven Testing)

API calls Collection include mainly three things:

HTTP headers
HTTP Request  (POST,GET,PUT,DELETE )
Status Code/ Response Code

Status Code/Response Code - There are many status/response code, from them, we can verify the response.
200 - OK, The request was successful.
201 - Created, The request was successful and data was created.
204 - No Content, The response is empty.
400 - Bad Request, The request could not be understood or was missing required parameters.
401 – Unauthorized, Authentication failed or user does not have permissions for the requested operation.
403 - Forbidden, Access denied.
404 - Not Found, Data was not found.
405 - Method Not Allowed, Requested method is not supported for the specified resource.
500 - Internal Server Error.
503 - Service Unavailable, The service is temporarily unavailable.

Link: jsonplaceholder.typicode.com/posts

Download: http://getpostman.com

API TESTING is a type of software testing that involves testing

application programming interfaces (APIs) directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security.


Steps to set an environment variable.

Click on Manage Environment.
Click on ADD
Write down the Name of Environment.
Fill key & value, You can pass key = variable and value is your host IP address.


Recommend Books :

- Foundations of Software Testing ISTQB Certification  - https://amzn.to/2AZf21m
- Mastering Selenium WebDriver - https://amzn.to/2BXtLeY
- Selenium Framework Design in Data-Driven Testing -https://amzn.to/2B2MWCu
- Selenium Design Patterns and Best Practices - https://amzn.to/2BZkYZW
- Learning Selenium Testing Tools - https://amzn.to/2B1DteU

Join Facebook Group : Software Testing & Automation Discussion
https://www.facebook.com/groups/18560...

Blog :  https://scrolltes.com

Follow at Quora : https://www.quora.com/profile/Promode-1

🚀 Tools and services I recommend:
Some of the courses that I recommend to become better Automation Tester 🙌🙌

✅Selenium Training and Certification -
https://scrolltest.com/go/edureka

✅Learn Jenkins for QA -
https://bit.ly/learnjenkins-p1

✅Programming Java -
https://bit.ly/learnjava2020-p1

✅Test Automation -
https://bit.ly/learnautomation2020

✅API Testing -
https://www.learnapitesting.com

✅Cypress Tutorial with LIVE Projects -
http://cypresstutorial.com
8 سال پیش در تاریخ 1395/11/01 منتشر شده است.
62,430 بـار بازدید شده
... بیشتر