Q1. Why Performance Testing is performed?Performance Testing is performed to evaluate application performance under some load and stress condition. It is generally measured in terms of response time for the user activity. It is designed to test the whole performance of the system at high load and stress condition.Example: Customer like to withdraw money from an ATM counter, customer inserts debit or credit card and wait for the response. If system takes more than 5 min. then according to requirements system functioning is fail. Type of Performance Testing:
Q2. What are tools of performance testing?Following are some popular commercial testing tools are:
Q3. Explain the sub-genres of Performance testing.Following are the sub-genres of Performance Testing:
Q4.What is performance tuning?To improve the system performance we follow a mechanism, known as Performance tuning. To improve the systems performance there are two types of tuning performed:
Q5. What is concurrent user hits in load testing?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.Q6. What is the need for Performance testing?Performance testing is needed to verify the below:
Q7. What is the reason behind performing automated load testing?Following drawbacks of manual Load Testing that leads to Automation load testing:
Q8. What are the exiting and entering criteria in the performance testing?We can start the performance testing of application during the design. After the execution of the performance testing, we collected the results and analyzed them to improve the performance. The performance tuning processed will be performed throughout the application development life cycle. Performance tuning is performed which is based on factors like release time of application and user requirements of application stability, reliability and scalability under load, stress and performance tolerance criteria. In some projects the end criteria is defined based on the client performance requirements defined for each section of the application. When product reaches to the expected level then that can be considered as the end criteria for performance testing.Q9.How do you identify the performance bottlenecks situations?Performance Bottlenecks can identify by monitoring the application against load and stress condition. To find bottleneck situation in performance testing we use Load Runner because provides different types of monitors like run-time monitor, web resource monitor, network delay monitor, firewall monitor, database server monitor, ERP server resources monitor and Java performance monitor. These monitors can help to us to determine the condition which causes increased response time of the application. The measurements of performance of the application are based on response time, throughput, hits per sec, network delay graphs, etc.Q10. What activities are performed during performance testing of any application?Following activities are performed during testing of application:1. Create user scenarios 2. User Distribution 3. Scripting 4. Dry run of the application 5. Running load test and analyzing the result., Q11. How can we perform spike testing in JMeter?Spike Testing is performed to understand what changes happens on the application when suddenly large number of user increased or decreased. Sudden changes in the number of user by increasing or decreasing at certain point of application and then monitoring the behavior. In JMeter spike testing can be achieved using Synchronizing Timer. The threads are blocked by synchronizing the timer until a particular number of threads have been blocked, and then release them at once thus creating large instantaneous load.Q12. What is distributed load testing?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.Q13. Explain the basic requirements of Performance test plan.Any Software Performance Test Plan should have the minimum contents as mentioned below:
Q14. What is throughput in Performance Testing?Throughput in Performance testing is the amount of data sent by the server in responds to the client request in a given period of time or it is the number of units of work that can be handled per unit of time. The throughput is measured in terms of requests per second, calls per day, hits per second, reports per year, etc. In most of the cases, the throughput is calculated in bits per seconds. Higher the throughput value, higher the performance of the application It is includes the client side statistics.Q15. What are the automated Performance testing phases?The phases involved in automated performance testing are:
Q16. What is Performance Testing?Performance Testing is performed to determine response time of the some components of the system perform under a particular workload. It is generally measured in terms of response time for the user activity. It is designed to test the overall performance of the system at high load and stress condition It identifies the drawback of the architectural design which helps to tune the application. It includes the following:
Q17. What is baseline testing?Baseline testing is a testing which is performed on the application before coming to any conclusion. It can be either the verification or validation process which provides an idea of what the next stage has to do. It is very important testing technique, if done properly, 85% of performance problems can be identified and solved when proper baseline tests are done.Q18. What is the testing lifecycle?There is no standard testing life cycle, but it is consist of following phases:
Q19. What is the difference between baseline and benchmark testing?The differences between baseline and benchmark testing are:
| |
Friday, April 5, 2013
Performance testing interview questions and answers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment