This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What do you understand by Throughput in Performance testing? |
|
Answer» Throughput refers to the NUMBER of transactions PER SECOND that an application can handle under the influence of lot of users (load). The API NEEDS to ensure that required throughput is met before it is deployed on production. We can identify this by performing the Load Testing of the APIs. We can do this by identifying multiple transactions of different priorities and check how many requests are successfully passed in acceptable time governed by the SLAs (Service Level Agreements) defined by us. |
|
| 2. |
What is Latency in API testing? |
|
Answer» Latency refers to the response time or the DELAY taken by the request to reach the SERVER. We need to ENSURE that the latency involved in REACHING the server is minimum as higher the latency, greater is the impact in the application’s speed and PERFORMANCE. |
|
| 3. |
What is the process of API Specification Review? |
|
Answer» API Specification Review is the first and foremost step of documentation of the API testing needs and REQUIREMENTS. It should clearly STATE the purpose of the API, the APPLICATION workflow and its features along with all other required details which could POSSIBLY HELP to plan the API testing process smoothly. |
|
| 4. |
Does the API tester need to have coding knowledge to perform API testing? |
|
Answer» API testing covers manual and automated testing. Manual testing does not require a tester to know to code. We just need API request details, HEADERS, payload, CREDENTIALS and know how to use the tools required to TEST the system. But in the CASE of automated testing, a tester needs to know how to code to automate test CASES and develop a sophisticated optimised test suite. |
|
| 5. |
Define test coverage. |
|
Answer» Test coverage is a measure that signifies the amount of testing performed by MAKING use of our test cases. It can be either functional testing or non-functional testing of the application. This provides a fair IDEA about what the testers need to COVER in their test cases. |
|
| 6. |
Define Test Data. |
|
Answer» TEST data is the input data used by the testers to EXECUTE their test CASES. This data can be prepared either manually or by MAKING use of tools. For instance, to test the login functionality of an APPLICATION, testers would need input data such as username and password which constitutes the test data. |
|
| 7. |
What do you understand by Black Box Testing? |
|
Answer» Black BOX Testing is one of the methods in software testing where the TESTERS evaluate the software functionality without the knowledge of the internal source code. This ideology can be applied in every BRANCH of testing such as UNIT testing, integration testing, system testing and acceptance testing. |
|
| 8. |
What are the best practices that need to be followed for writing test cases? |
Answer»
|
|
| 9. |
What needs to be verified in API testing? |
|
Answer» In API Testing, we send a request to the API and then we analyze the responses BASED on the FOLLOWING parameters:
|
|
| 10. |
What is the approach followed in API Testing? |
|
Answer» We follow the below approaches in API Testing:
|
|
| 11. |
What are the advantages of API Testing? |
|
Answer» There are various advantages of API testing. Some of the most significant advantages are as FOLLOWS:
|
|
| 12. |
What are the differences between API Testing and Unit Testing? |
||||||||||
Answer»
|
|||||||||||
| 13. |
What are the most commonly used tools for API testing? |
|
Answer» The most popularly used TOOL in the market is PostMan. This tool helps to CREATE MANUAL and automated test cases for testing the APIs in a well-designed manner. APART from this, there are different tools like JMeter, Parasoft SOAtest, SoapUI, Apigee, API fortress, JUnit, etc. |
|
| 14. |
What protocols can be tested using API Testing? |
|
Answer» API TESTING can be USED for testing the FOLLOWING PROTOCOLS:
|
|
| 15. |
What are the different types of API testing? |
|
Answer» There are VARIOUS types of API testing, they are:
|
|
| 16. |
How do APIs work? |
|
Answer» The general workflow of API is that it takes a REQUEST, processes it which MIGHT involve data validation, database interaction, data processing, and then the resultant of this is sent back to the SOURCE. APIs provide an abstraction to the internal business logic as they are not exposed to the world. Examples of APIs: Amazon API, Google Map API, TWITTER API, ETC. |
|
| 17. |
What is API? |
|
Answer» API stands for Application Programming Interface that is useful for communication between different software systems. It facilitates data EXCHANGE between systems LOCATED in different REMOTE places. They are nothing but a collection of functions that are executable by other functions of the software application. |
|
| 18. |
What is API testing ? |
|
Answer» API testing is a CATEGORY of software integration testing that deals with the testing of APPLICATION Programming INTERFACES (APIs) directly. It deals with checking if the APIs developed work as expected in terms of reliability, FUNCTIONALITY, security, and performance of the business logic covered by the applications. |
|