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. |
Mention What Is The Difference Between Performance Testing And Functional Testing? |
|
Answer» FUNCTIONAL Testing
Performance Testing
Functional Testing Performance Testing |
|
| 2. |
Explain The Sub-genres Of Performance Testing? |
|
Answer» Following are the sub-genres of PERFORMANCE Testing:
Following are the sub-genres of Performance Testing: |
|
| 3. |
What Activities Are Performed During Performance Testing Of Any Application? |
|
Answer» Following activities are performed during testing of APPLICATION:
Following activities are performed during testing of application: |
|
| 4. |
What Is Performance Tuning? How Many Types Are There? |
|
Answer» Performance tuning is done for improving the SYSTEM performance: Hardware Tuning: OPTIMIZING, adding or REPLACING hardware components of the system and changes done in the INFRASTRUCTURE level to improve system performance is called hardware tuning. Software Tuning: IDENTIFYING the software level bottlenecks by profiling the code, database etc. Fine tuning or modifying the software to fix the bottlenecks is called software tuning. Performance tuning is done for improving the system performance: Hardware Tuning: Optimizing, adding or replacing hardware components of the system and changes done in the infrastructure level to improve system performance is called hardware tuning. Software Tuning: Identifying the software level bottlenecks by profiling the code, database etc. Fine tuning or modifying the software to fix the bottlenecks is called software tuning. |
|
| 5. |
What Is Difference Between Simultaneous User And Concurrent User? |
|
Answer» Simultaneous USERS WAIT for other user to complete then it starts its ACTIVITY whereas in concurrent users, it can be like 2 users log into the system and perform different activities at the same TIME. Simultaneous users wait for other user to complete then it starts its activity whereas in concurrent users, it can be like 2 users log into the system and perform different activities at the same time. |
|
| 6. |
What Is A Protocol And How Many You Have Worked On? |
|
Answer» A PROTOCOL is a SET of rules for information communication between 2 or more systems. There are many protocols such as Http/Https, FTP, Web SERVICES, Citrix.Mostly USED protocols are Http/Https and Web Services. A protocol is a set of rules for information communication between 2 or more systems. There are many protocols such as Http/Https, FTP, Web Services, Citrix.Mostly used protocols are Http/Https and Web Services. |
|
| 7. |
What Is The Reason Behind Performing Automated Load Testing? |
Answer»
|
|
| 8. |
Can You Tell A Scenario Where Throughput Is Increasing With Response Time Means When They Are Directly Proportional? |
|
Answer» Yes it can be possible when you have lots of CSS (Cascading STYLE Sheet) in your application which takes a lot of time to DISPLAY. We can EXPECT this type of situation where THROUGHPUT will be increasing as well as the RESPONSE time. Yes it can be possible when you have lots of CSS (Cascading Style Sheet) in your application which takes a lot of time to display. We can expect this type of situation where throughput will be increasing as well as the response time. |
|
| 9. |
What Is Think Time? |
|
Answer» Think time can be defined as the real time wait between 2 CONSECUTIVE transactions. For Example a real time USER waits to evaluate the DATA he received before PERFORMING the next STEP, that wait time he takes can be stated as think time. Think time can be defined as the real time wait between 2 consecutive transactions. For Example a real time user waits to evaluate the data he received before performing the next step, that wait time he takes can be stated as think time. |
|
| 10. |
How Do You Find Out The Performance Bottlenecks? |
|
Answer» Performance Bottlenecks can be identified by USING different counters such as response TIME, throughput, hits/sec, network delay graph. We can analyze them and TELL where the suspected performance BOTTLENECK is. Performance Bottlenecks can be identified by using different counters such as response time, throughput, hits/sec, network delay graph. We can analyze them and tell where the suspected performance bottleneck is. |
|
| 11. |
How You Can Calculate Pacing For Your Application? |
|
Answer» We can calculate PACING by the formula as No. of users = (Response TIME in SECONDS + Pacing in seconds) * TPS TPS is TRANSACTION per Second. We can calculate pacing by the formula as No. of users = (Response Time in seconds + Pacing in seconds) * TPS TPS is transaction per Second. |
|
| 12. |
What Is Performance Engineering, How Its Different Form Performance Testing? |
Answer»
|
|
| 13. |
How Do You Do The Analysis Of The System For Identifying Issues? |
|
Answer» We can study the VARIOUS graphs generated by the tool such as RESPONSE TIME, throughput graph, RUNNING Vusers graph ETC. and also we can see the server logs to identify the issues in system. We can study the various graphs generated by the tool such as Response time, throughput graph, running Vusers graph etc. and also we can see the server logs to identify the issues in system. |
|
| 14. |
How Do You Identify Which Protocol To Use For Any Application? |
|
Answer» Previously Performance TESTER had to depend much on the development team to know about the protocol that application is using to interact with the server. Sometimes, it also used to be speculative. HOWEVER, LoadRunner PROVIDES a great help in form of Protocol Advisor from version 9.5 onwards. Protocol advisor detects the PROTOCOLS that application uses and suggest us the possible protocols in which script can be created to simulate the real USER. Previously Performance tester had to depend much on the development team to know about the protocol that application is using to interact with the server. Sometimes, it also used to be speculative. However, LoadRunner provides a great help in form of Protocol Advisor from version 9.5 onwards. Protocol advisor detects the protocols that application uses and suggest us the possible protocols in which script can be created to simulate the real user. |
|
| 15. |
What Is Ip Spoofing And Why Is It Used? |
|
Answer» IP spoofing is used to spoof the SYSTEM so that each host machine can use MANY different IPS to CREATE hypothetical environment where system believes that REQUEST are coming from different locations. IP spoofing is used to spoof the system so that each host machine can use many different IPs to create hypothetical environment where system believes that request are coming from different locations. |
|
| 16. |
List Down Any Challenge You Faced In Your Performance Career And How Did You Overcome It? |
|
Answer» Yes, I FACED many challenges like defining the SCOPE of application, break points which I over came by STUDYING the historical data of application and based on them I decided the values, setting up the performance environment INCLUDING proxy bypassing, connecting to Server under TEST. Yes, I faced many challenges like defining the scope of application, break points which I over came by studying the historical data of application and based on them I decided the values, setting up the performance environment including proxy bypassing, connecting to Server under test. |
|
| 17. |
What Is Profiling? |
|
Answer» Profiling is a process of pinpointing a bottleneck performance at minute LEVELS. This is done by performance teams for engineering which includes developers or performance testers. You can profile in any application layer getting TESTED. If you need to do application profiling you MIGHT need to USE tools for performance profiling of application servers. When profiling an application server, you identify issues at the level of code such as memory INTENSIVE API’s If the database is what you are profiling using the tools for database profiling, you can identify a number of things such as a full table scan query, high cost queries and the number of executed SQLs. Profiling is a process of pinpointing a bottleneck performance at minute levels. This is done by performance teams for engineering which includes developers or performance testers. You can profile in any application layer getting tested. If you need to do application profiling you might need to use tools for performance profiling of application servers. When profiling an application server, you identify issues at the level of code such as memory intensive API’s If the database is what you are profiling using the tools for database profiling, you can identify a number of things such as a full table scan query, high cost queries and the number of executed SQLs. |
|
| 18. |
What Is Distributed Load Testing? |
|
Answer» Distributed LOAD testing: in this we test the application for a NUMBER of USERS accessing the application at a same time. In distributed load testing test cases are execute to determine the application behavior. Now application behavior is MONITORED, recorded and analyzed when multiple users concurrently use the system. Distributed load testing is the process USING which multiple systems can be used for simulating load of large number of users. The reason for doing the distributed load testing is that to overcome the limitation single system to generate large number of threads. Distributed load testing: in this we test the application for a number of users accessing the application at a same time. In distributed load testing test cases are execute to determine the application behavior. Now application behavior is monitored, recorded and analyzed when multiple users concurrently use the system. Distributed load testing is the process using which multiple systems can be used for simulating load of large number of users. The reason for doing the distributed load testing is that to overcome the limitation single system to generate large number of threads. |
|
| 19. |
What Are The Automated Performance Testing Phases? |
|
Answer» The phases involved in AUTOMATED PERFORMANCE testing are: Planning/Design: This is the primary phase where team will be gathering the requirements of the performance testing. Requirements can be Business, Technical, System and Team requirements. Build: This phase consists of automating the requirements collected during the design phase. Execution: it is done in multiple phases. It consists of various types of testing LIKE baseline, BENCHMARKING testing. Analyzing and tuning: During the performance testing we will be capturing all the DETAILS related to the system like Response time and System Resources for identifying the major bottlenecks of the system. After the bottlenecks are identified we have to tune the system to improve the overall performance. The phases involved in automated performance testing are: Planning/Design: This is the primary phase where team will be gathering the requirements of the performance testing. Requirements can be Business, Technical, System and Team requirements. Build: This phase consists of automating the requirements collected during the design phase. Execution: it is done in multiple phases. It consists of various types of testing like baseline, benchmarking testing. Analyzing and tuning: During the performance testing we will be capturing all the details related to the system like Response time and System Resources for identifying the major bottlenecks of the system. After the bottlenecks are identified we have to tune the system to improve the overall performance. |
|
| 20. |
What Is The Difference Between Performance Testing And Performance Engineering? |
|
Answer» Performance TESTING: In Performance testing, testing CYCLE includes requirement gathering, SCRIPTING, execution, RESULT sharing and report generation. Performance engineering: Performance Engineering is a step ahead of Performance testing where after execution; results are ANALYZED with the aim to find the performance bottlenecks and the solution is provided to resolve the identified issues. Performance testing: In Performance testing, testing cycle includes requirement gathering, scripting, execution, result sharing and report generation. Performance engineering: Performance Engineering is a step ahead of Performance testing where after execution; results are analyzed with the aim to find the performance bottlenecks and the solution is provided to resolve the identified issues. |
|
| 21. |
What Is The Difference Between Baseline And Benchmark Testing? |
|
Answer» The DIFFERENCES between baseline and BENCHMARK testing are: Baseline testing is the process of running a set of tests to capture performance information. This information can be used as a point of reference when in future changes are MADE to the application where as Benchmarking is the process of COMPARING your system performance against an INDUSTRY standard that is given by some other organization. Example: We can run baseline test of an application, collect and analyze results, and then modify several indexes on a SQL Server database and run the same test again, using the previous results to determine whether or not the new results were better, worse, or about the same. The differences between baseline and benchmark testing are: Baseline testing is the process of running a set of tests to capture performance information. This information can be used as a point of reference when in future changes are made to the application where as Benchmarking is the process of comparing your system performance against an industry standard that is given by some other organization. Example: We can run baseline test of an application, collect and analyze results, and then modify several indexes on a SQL Server database and run the same test again, using the previous results to determine whether or not the new results were better, worse, or about the same. |
|
| 22. |
What Drawbacks Do Manual Load Tests Have? |
|
Answer» The manual load testing drawbacks are:
The manual load testing drawbacks are: |
|
| 23. |
List Out Some Common Performance Bottlenecks? |
|
Answer» Some COMMON performance bottlenecks include: Some common performance bottlenecks include: |
|
| 24. |
What Is The Life-cycle Of Testing? |
| Answer» | |
| 25. |
What Is Concurrent User Hits In Load Testing? |
|
Answer» When the multiple users, without any time difference, hits on a same event of the application under the load test is CALLED a concurrent USER hit. The concurrency point is added so that multiple Virtual User can WORK on a single event of the application. By adding concurrency point, the virtual users will wait for the other Virtual users which are running the SCRIPTS, if they reach EARLY. When all the users reached to the concurrency point, only then they start hitting the requests. When the multiple users, without any time difference, hits on a same event of the application under the load test is called a concurrent user hit. The concurrency point is added so that multiple Virtual User can work on a single event of the application. By adding concurrency point, the virtual users will wait for the other Virtual users which are running the scripts, if they reach early. When all the users reached to the concurrency point, only then they start hitting the requests. |
|