API Testing/Automation Interview Questions [Part 2]

1. What is an API?
2. Whats the diff between Rest vs SOAP
3. What are the different http methods
4. What are the different status codes and when will they occur?
5. what are the different ways you validate XML response?
6. What are the different ways you validate rest api response
7. How do you use POJO’s? Sample POJO code for a Json
8. How do you pass payload to rest api call during automation?
9. Explain your automation framework?
10. Explain challenges that you face during automation of rest api’s
11. What are the diff types of testing you do with an API
12. What is the diff between regular calls vs oauth calls?
13. How do you test security testing using API’s
14. How do you do performance testing with API’s
15. what is the different between Put vs Patch

Click here to Read Rest- Assured API Testing Automation Interview Questions

– Questions shared by Mr. Hari.

Happy Testing


Download android app Software Testing – Full Stack QE / SDET and get the early access.


 

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.

Click here to Read API Testing Interview Questions

– Questions shared by Mr. Hari. (Linkedin Profile:)

Happy Testing


Download android app Software Testing – Full Stack QE / SDET and get the early access.


 

Evaluating / Interviewing Software Test Lead and Managers – Test Management Questions.


Some unique and useful questions (specific to Test Management) to evaluate Software Test Leads and Managers:


1. Under extreme conditions, how you can keep yourself and your team energized?2. What is your criteria to evaluate a software tester?

3. Your thoughts on limiting the scope of testing by measuring testability?

4. How you can encourage your team (testers) for bug advocacy?

5. Any thoughts on reducing the cost of testing without cutting the resources?

6. How you keep yourself updated on the latest testing techniques, strategies, testing tools/ test frameworks and so on? (If answer is like – “Reading websites.. blogs..” then ask the names of blogs/sites).

7. How we can achieve time-boxing in testing?

8. In case when there is time crunch, do you think forcing tradeoff(s) in testing is a right step?

9. It is being said by experts that “Studying epistemology helps you test better“. Do you agree on this? Your thoughts on Epistemology?