[Tips] What must be checked when performing API testing?

Seems easy but yet a tricky interview question. Here is the answer by Katalon experts:

During the API testing process, a request is raised to the API with the known data. This way you can analyze the validation response. While testing an API, you should consider:

  1. Accuracy of data
  2. Schema validation
  3. HTTP status codes
  4. Data type, validations, order and completeness
  5. Authorization checks
  6. Implementation of response timeout
  7. Error codes in case API returns, and
  8. Non-functional testing like performance and security testing

Premium Software Testing / SDET Jobs – India (9/26)

Market is opening up now and companies has started hiring. Here are some of the hot job openings in India:

Senior Test Engineer – SDET – Attra – Pune / Bangalore https://bit.ly/368GWcA

Lead Test Automation Engineer – EPAM Systems – India https://bit.ly/333lL9S

Senior SDET Engineer – TDG – Pune, India https://bit.ly/3cx6Zvc

Sr/SDET Engineer – VMware – Bangalore, Karnataka https://bit.ly/2EE43k0

Senior Software QA Engineer – SDET, Open VisaNet – VISA – Bengaluru, Karnataka https://bit.ly/2S38GXK

Software Developer Engineer in Test II – at f5 – Hyderabad, Telangana https://bit.ly/36bgsqL

Software Test Manager / QE Lead – Noida – https://bit.ly/3iecUqt

Agile Software Testing – Techniques and Tools (100% Free Udemy Course)

Agile Software Testing – Techniques and Tools (100% Free Udemy Course)

Limited Period Offer (expires in 1 day i.e. on 9/24). 3400+ students enrolled so far.

Go to https://www.udemy.com/course/agile-software-testing-techniques-and-tools/ and apply coupon 00533267C97F10EE5634

Or Direct Link: https://www.udemy.com/course/agile-software-testing-techniques-and-tools/?couponCode=00533267C97F10EE5634

What you’ll learn

  • Agile Testing and Risk Assessment: Test-driven and Behavior-driven Development, Test Levels, A Scrum Tester, Quality Risks in Agile Projects
  • Techniques in Agile Projects: Estimation of Testing Effort, Test Basis in Agile Projects, Definition of Done, Acceptance Test-driven Development, Functional and Nonfunctional Black Box Test Design, Exploratory Testing
  • Tools for Testing in Agile Projects: Task Management and Tracking Tools, Communication and Information-sharing Tools, Test Development and Configuration 

This course includes:

  • 1.5 hours on-demand video
  • 2 articles
  • 34 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of completion

Go to https://www.udemy.com/course/agile-software-testing-techniques-and-tools/ and apply coupon 00533267C97F10EE5634 Or Direct Link: https://www.udemy.com/course/agile-software-testing-techniques-and-tools/?couponCode=00533267C97F10EE5634

Complete Java for beginners (in depth and adv java) – 100% Free Udemy Course

Complete Java for beginners (in depth and adv java) – 100% Free Udemy Course

Limited Period Offer (expires in 1 day i.e. on 9/23). 7800+ students enrolled so far.

Go to https://www.udemy.com/course/smt-java-advjava/ and apply coupon JAVASMT210920 .

This course includes:

  • 13.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of completion

Go to https://www.udemy.com/course/smt-java-advjava/ and apply coupon JAVASMT210920 .

Rest- Assured API Testing Automation Interview Questions

  1. What is difference between API and WebService.
  2. What is difference between SOAP & Rest API.
  3. Can you write a sample of API(URL) and JSON.
  4. How do you handle Authentication token.
  5. How many type of Authentication in POSTMAN/ Rest-Assured.
  6. What is difference between OAuth1.0 and OAuth2.O ,When and where do you use and how. Can you write a sample code.
  7. What is baseURI in RestAssured.
  8. Can you explain RequestSpecification request = RestAssured.given();
  9. What will be returned type of response.jsonPath().getJsonObject(“XYZ”);
  10. How do you extract the values of JSON and how do you validate response.
  11. Can you write a code of save the response in a JSON file.
  12. How do you validate headers of response.
  13. What is difference between Headers and Header class.
  14. What is difference between response.header(“xyz”) and response.headers() methods.
  15. Can you extract all the headers from response at run time.
  16. What is JSONObject() , request.header(“xyz”), response.path(“lable”) , response.body().asString() , response.getBody().prettyPrint(); , RestAssured.given().queryParam(“xyz”,”abc”);
  17. What is difference between request.get(“https//dev-mode.com/api/allcustomers”) and request.request(Method.GET,"/ allcustomers ");
  18. What is difference between PUT and Patch . Have you ever used and where.
  19. What are status code(2xx ,3xx ,4xx, 5xx) in API.
  20. How do you print your response in JSON format.
  21. How do you post body in POST and how many way to post.
  22. What all are the dependency for Rest-Assured.

– Questions shared by Mr. Hari.
Happy Testing

Finally an online Software Testing Conference with great speakers, great agenda and decent price. #testcon2020

Testcon2020 Virtual Summit on 25th & 26th September.

Register and learn https://bit.ly/Testcon2020

[Must check Speakers and Agenda, even if you don’t want to register. You will love the topics].

Register Now & Get Flat 20% Discount on tickets. Use code [STT20]

  • India: INR 1200/-
  • Other Countries: USD 16

TestCon 2020 is the Software Testing Conference that brings together hundreds of Test Professionals, who seek to improve their skills to fit new market requirements and stay tuned with the latest trends!

Check out the exciting Speaker Lineup and Agenda here: https://bit.ly/Testcon2020