If you're looking for Performance Testing Interview Questions for Experienced or Freshers, you are at right place. There are lot of opportunities from many reputed companies in the world. According to research Performance Testing salary ranges from $30,000 to $184,000. So, You still have opportunity to move ahead in your career in Performance Testing Engineering. Mindmajix offers Advanced Performance Testing Interview Questions 2018 that helps you in cracking your interview & acquire dream career as Performance Testing Engineer.
Q. Explain what is performance testing?
Performance testing is done for quality assurance. It involves testing software application to make sure that the software is working well under their expected workload.
Q. Mention different types of performance testing?
Q. List out what are the common performance problem does user face?
Longer loading time
Poor response time
Bottlenecking (coding errors or hardware issues)
Q. List out some common performance bottlenecks?
Some common performance bottlenecks include
Q. List out some of the performance testing tool?
Rational Performance Tester
Borland Silk Performer
Q. Why does JMeter become a natural choice of tester when it comes to performance testing?
JMeter tool has benefits like
JMeter has a tendency to determine the maximum number of concurrent users that your website can handle
It provides a variety of graphical analyses of performance reports
Q. Mention what all thing involves in Performance Testing Process?
Q. List out some of the parameters considered for performance testing?
Q. List out the factors you must consider before selecting performance tools?
Q. Mention what is the difference between JMeter and SOAPUI?
It is used for load and performance testing HTTP, JDBC, JMS, Web Service(SOAP), etc.
It supports distributed load testing
It is specific for web services and has a more user-friendly IDE
It does not support distributed load testing
For most IDE, it has plugin support
Q. Mention what is the difference between performance testing and functional testing?
Functional Testing Performance Testing
To verify the accuracy of the software with definite inputs against expected output, functional testing is done.
This testing can be done manually or automated
One user performs all the operations
Customer, Tester and Development involvement is required
Production sized test environment is not necessary, and H/W requirements are minimal
To validate the behavior of the system at various load conditions performance testing is done.
It gives the best result if automated
Several user performs desired operations
Customer, Tester, Developer, DBA and N/W management team
Requires close to production test environment and several H/W facilities to populate the load
Q. Explain how you can execute spike testing in JMeter?
In JMeter, spike testing can be done by using Synchronizing Timer. The threads are jammed by synchronizing the timer until a specific number of threads have been blocked and then release at once, creating a large instantaneous load.
Q. Explain what is the throughput in Performance Testing?
In performance testing, throughput is referred to the amount of data transported to the server in responds to the client request at a given period of time. It is calculated in terms of requests per second, calls per day, reports per year, hits per second, etc. Performance of application depends on throughput value, higher the value of throughput -higher the performance of the application.
Q. Mention what are the phases for automated performance testing?
Phases for automated performance testing includes
Q. Mention what is the difference between the benchmark testing and baseline testing?
Q. Mention what is concurrent user hits in load testing?
In load testing, without any time difference when multiple users hit on the same event of an application under the load test is called a concurrent user hit.
Q. 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:
Load: analogous to volume testing and determine how application deal with large amount of data.
Stress: examine application behavior under peak bursts of activity.
Capacity: measure overall capacity and determine at what time response time become unacceptable.
Q. What are tools of performance testing?
Following are some popular commercial testing tools are:
LoadRunner(HP): this for web and other application. It provides a variety of application environments, platforms and database. Number of server monitors to evaluate the performance measurement of each component and tracking of bottlenecks.
QAload(Compuware): used for load testing of web, database and char-based system.
WebLoad(RadView): it allows comparing of running test vs. test metrics.
Rational Performance Tester (IBM): used to identify presence and cause of system performance bottlenecks.
Silk Performer (Borland): allow prediction of behavior of e-business environment before it is deployed, regardless of size and complexity.
Q. Explain the sub-genres of Performance testing.
Following are the sub-genres of Performance Testing:
Q.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:
Q. 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.
Q. What is the need for Performance testing?
Performance testing is needed to verify the below:
Q. What is the reason behind performing automated load testing?
Following drawbacks of manual Load Testing that leads to Automation load testing:
Q. 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.
Q.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.
Q. 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
4. Dry run of the application
5. Running load test and analyzing the result.,
Q. 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.
Q. 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.
Q. What is the testing lifecycle?
There is no standard testing life cycle, but it is consist of following phases:
Test Planning (Test Strategy, Test Plan, Test Bed Creation)
Test Development (Test Procedures, Test Scenarios, Test Cases)
Result Analysis (compare Expected to Actual results)
Q. What is the difference between baseline and benchmark testing?
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.
Q. 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:
Increasing number of users interacting with the system.
Determine the Response time.
Repeating the load consistently.
Monitoring the system components under controlled load.
Providing robust analysis and reporting engines.
Q. Mention what is the benefit of LoadRunner on testing tools?
Benefit of LoadRunner testing tools is
Q. Explain what is Endurance Testing and Spike Testing?
Q. Explain what are the common mistakes done in Performance Testing?
The common mistakes done in Performance Testing are
?Q. Mention the steps required in JMeter to create a performance test plan?
Q. 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.
Q. Explain the basic requirements of Performance test plan.
Any Software Performance Test Plan should have the minimum contents as mentioned below:
Performance Test Strategy and scope definitions.
Test process and methodologies.
Test tool details.
Test cases details including scripting and script maintenance mechanisms.
Resource allocations and responsibilities for Testers.
Risk management definitions.
Test Start /Stop criteria along with Pass/Fail criteria definitions.
Test environment setup requirements.
Virtual Users, Load, Volume Load Definitions for Different Performance Test Phases.
Results Analysis and Reporting format definitions
Q. 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.
Q. What are the automated Performance testing phases?
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.
Get Updates on Tech posts, Interview & Certification questions and training schedules