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. |
How do you perform API Load Testing? |
Answer»
Automation Testing Web Services Web API REST API |
|
| 2. |
What do you understand by Big Bang Approach in testing? |
|
Answer» The big BANG approach is the approach of combining all modules at once and then PERFORMING verification of the FUNCTIONALITY after the individual modules are tested. It belongs to the category of integration TESTING of the APPLICATIONS. |
|
| 3. |
How should we test the API security? |
|
Answer» To test the security of the API during API testing, we need to validate 2 things:
We can ALSO validate whether the TLS or the SSL CERTIFICATE used over the HTTPS protocol is valid or not. |
|
| 4. |
Is it possible to hack API while testing? |
|
Answer» Yes, it is possible. This is because we are sending requests over the internet which mostly follows HTTP protocol. This protocol is text-based and is easier to READ. HENCE, it is required to perform SECURITY testing of the APIS to ensure SAFER systems. |
|
| 5. |
What do you understand by the test environment for API? |
|
Answer» The test environment is an environment that helps test the APIs developed by providing a FEATURE to SEND requests and get the responses from the server. It is similar to the production environment where the Quality Analyst has enough data to PERFORM their functionality testing. In a test environment, we can have a test DATABASE, a localized gateway, a server and a LOAD balancer. |
|
| 6. |
What do you understand by Input injection? |
|
Answer» Input INJECTION is the act of SIMULATING inputs for testing APIs. It can be simulated in DIFFERENT ways: |
|
| 7. |
Why is automated API testing useful? |
|
Answer» Automated testing is useful in the long RUN as it HELPS to maximize the TEST coverage of the applications in a SHORTER period of time meaning it helps to test large test sets very easily and quickly. It enables parallel execution and helps to reduce human-generated errors in testing. It saves the time required to test applications thereby saving the overall cost. |
|
| 8. |
What is the importance of caching mechanism? |
|
Answer» CACHING mechanism is the practice of storing data TEMPORARILY to retrieve data for repeated requests. This increases the performance of the system by obtaining the data from the cached COPY instead of hitting the database and getting the original data. |
|
| 9. |
What is Run Scope? |
|
Answer» Run SCOPE is an API testing tool that is typically a web application SUPPORTING an EASIER user INTERFACE PLATFORM to test back-end services. For more information, visit here. |
|
| 10. |
What is Payload? |
|
Answer» Payload is the most common TERM used in the CASE of REST APIs. It refers to the actual data sent to the server in the API request in different formats like JSON, XML etc. |
|
| 11. |
Define Test API. |
|
Answer» Test API refers to a SET of APIs or library utilities that helps developers to create AUTOMATED test CASES for testing .NET or WIN 32 systems. It has a set of basic DATA building blocks, data types, data structures ETC. |
|
| 12. |
What are the different bugs that can be found in API testing? |
|
Answer» We can FIND the below bugs at the time of API testing:
|
|
| 13. |
What are the principles that need to be followed while performing API Testing? |
|
Answer» There are 7 principles in API testing design. They are:
|
|
| 14. |
What are the major blockers or challenges faced while performing API testing? |
|
Answer» Some of the CHALLENGES faced while doing API testing are: |
|
| 15. |
What is the most important difference between API testing and UI testing? |
|
Answer» UI TESTING REPRESENTS testing by using GRAPHICAL User Interface. The main area of focus in this is to test the look and feel of the software application by focusing on how the application is feasible for the end-users, do the functionalities of all the items shown on the UI screen - images, fonts, buttons, layouts etc are APPEARING properly as expected. |
|
| 16. |
How do you document an API functionality? What are the tools available for achieving the same? |
|
Answer» API documentation REPRESENTS any DESCRIPTION of the functionality of the API. Since this documentation will be used by external developers, we need to follow some best practices. They are:
Some of the popular TOOLS used for achieving API documentation are:
|
|