API Testing Interview Questions
In this article we will cover API Testing Interview Questions. API testing earlier was considered as a form of Manual testing only but now even APIs can be automated with the help of various frameworks such as Rest Assured or Karate. In this article we will cover API Testing Interview Questions in detail that you should know before appearing for any interview.
Nowadays companies are looking out for the testers having experience in API testing.
API Testing Interview Questions
- What is the difference between an API and web services?
- All web services are APIs but not all APIs are web services
- Web services needs a network to operate while APIs don't.
- What are the advantages of API Testing?
- Time saving
- Defects can be caught earlier
- What are the common protocols used in API Testing?
- HTTP
- SOAP
- JMS
- REST
- UDDI
- What all testing can be carrier out using APIs?
- Functional testing
- Performance testing
- Load testing
- Security testing
- What are the differences between API Testing and Unit Testing?
- API Testing are conducted by QA team.
- API testing is mostly blackbox testing
- Executed after the build deployment
- Whereas unit testing is performed by development team
- It is a white box testing
- What are the challenges faced by you in API Testing?
- Input parameter selection
- Parameter combination
- Output verification and validation
- What are the characteristics of REST?
- REST is stateless.
- What are the components of HTTP request?
- HTTP methods such as GET, POST, PUT , DELETE
- Uniform Resource Identifier(URI) which identifies the resource on a server.
- What is the difference between PUT and POST?
- PUT is idempotent
- POST if tried N times will create N number of resources with N different URIs created on the server.
- What is the format/ Syntax of URI?
- <protocol> ://<service-name>/<Resource Type>/<Resource ID>
Comments
Post a Comment