API Testing Interview Questions Try Yourself
API Testing Interview Questions Try Yourself
11. Explain what do you mean by authentication and what are the types of
13. How do you store the result and use it further in groovy scripting?
23. What are the different types of properties in SoapUI How you declare
26. Explain what do you mean by UDDI and what do you mean by WSDL.?
28. How to parse a list from a JSON, for example, there is JSON and there
are multiple IDs how you will parse all the IDs from JSON and how you
30. How you will test the REST API with Rest Assured?
31. Write a simple Rest Assured test case that validates sample JSON
response?
32. API returns a simple integer array [1, 2, 3], how to test such a response
38. How to test the REST API that requires OAuth1 authentication?
39. You have a fleet of APIs that requires n number of custom headers, how
can you avoid duplicating the code for parsing the same headers
45. What is the difference between OAuth1.0 and OAuth2.O, When and
where do you use and how. Can you write a sample code?
49. How do you extract the values of JSON and how do you validate the
response.
50.Can you write a code for saving the response in a JSON file?
response.headers() methods.
54. Can you extract all the headers from the response at run time?
response.body().asString() , response.getBody().prettyPrint(); ,
RestAssured.given().queryParam(“xyz”,”abc”);
56.What is the difference between
request.get(“https//allstq.com/api/allcustomers”) and
57. Difference between PUT and Patch? Have you ever used and where.