InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What are some of the best tips for conducting performance testing? |
|
Answer» Following are some of the BEST tips for conducting performance testing:
Performance testing provides in-depth insights regarding the non-functional application requirements like scalability, SPEED, availability and reliability of the software under test. These HELP in identifying and resolving the shortcomings and gaps in performance before the application goes live. |
|
| 2. |
When should we conduct performance testing for any software? |
|
Answer» Performance testing is done for measuring the performance of any action in the application. We can run performance TESTS for CHECKING the performance of the websites and apps. In case we are following waterfall methodology, we can test EVERY time we release a new SOFTWARE’s version. If we are using agile methodology, then we need to test continuously. |
|
| 3. |
What are the common mistakes committed during performance testing? |
|
Answer» FOLLOWING are some of the mistakes committed during performance testing:
|
|
| 4. |
What are the metrics monitored in performance testing? |
||||||||||||||||||||||||||||||||
|
Answer» Following are the metrics monitored in performance testing:
|
|||||||||||||||||||||||||||||||||
| 5. |
Can the end-users of the application conduct performance testing? |
|
Answer» No, end-users cannot conduct performance testing. HOWEVER, while MAKING use of the software the end-users can discover software bottlenecks. However, that cannot be equated to actual performance testing performed by professional testers. If the end-users want to participate in testing, they can be ACCOMMODATED in the USER Acceptance Testing phase. |
|
| 6. |
What do you mean by concurrent user hits in load testing? |
|
Answer» Concurrent user HITS scenarios arise when more than one user will be hitting or REQUESTING for the same event during the load testing PROCESS. This SCENARIO is tested to ensure that MULTIPLE users can access the same event requests at the same time in the application. |
|
| 7. |
What are the best ways for carrying out spike testing? |
|
Answer» Spike testing can be carried out by bombarding the application with networking, random connections, DATA, different operations, firing requests to every SINGLE FUNCTIONALITY of the application. In this way, the application is pushed to the limits and monitoring can be done to IDENTIFY if it can WORK under pressure. The data monitored can be documented and then be analyzed. |
|
| 8. |
How is endurance testing different from spike testing? |
Answer»
|
|
| 9. |
How is load testing different from stress testing? |
Answer»
|
|
| 10. |
What are the pre-requisites to enter and exit a performance test execution phase? |
|
Answer» The necessary entry criteria for the execution PHASE:
The necessary exit criteria would be: |
|
| 11. |
Can we perform spike testing in JMeter? If yes how? |
|
Answer» Spike TESTING is conducted to determine how an application behaves when the number of users accessing the system decreases or increases ABRUPTLY. This is because generally when the number of users varies abruptly and suddenly (leading to a spike), then the system behaviour will have unexpected changes. This can be tested in JMeter using Synchronizing Timer. This is simulated by jamming the threads by synchronizing the time until the stipulated number of threads have been blocked and once that is achieved, then release the threads suddenly at once to simulate a large load. The FOLLOWING steps can be performed: |
|
| 12. |
How can we identify situations that belong to performance bottlenecks? |
|
Answer» We can identify PERFORMANCE bottlenecks by MONITORING the applications that do not perform well against the stipulated stress and load conditions. We can use LoadRunner software for making use of different monitors that monitor DATABASE servers, network delays, firewall monitors ETC. |
|
| 13. |
On what kind of values can we perform correlation and parameterization in the LoadRunner tool? |
|
Answer» Correlation is performed for dynamic values such as SESSION IDS, session states, DATE values etc that are returned from the server in response to any request. Parameterization is conducted upon static DATA, such as passwords, usernames etc that are USUALLY entered by the user. |
|
| 14. |
Why is it preferred to perform load testing in an automated format? |
|
Answer» Performing load testing in a manual WAY has the following disadvantages:
Due to all the above-mentioned reasons, it is preferred to perform load testing in automated form. |
|
| 15. |
What are the differences between benchmark testing and baseline testing? |
|
Answer» Benchmark Testing is a testing process conducted to compare the system FRAMEWORK performance against set industry standards that are laid by some organizations. Baseline Testing is a TYPE of testing where the tester runs various tests to KNOW the information about the performance. Whenever a change is DONE in the future, the result of the baseline testing will be considered as a reference POINT to the next set of testing. |
|