Performance Testing Using JMeter (9 Blogs) Become a Certified Professional
AWS Global Infrastructure

Software Testing

Topics Covered
  • Testing With Selenium WebDriver (16 Blogs)

Top 50 Performance Testing Interview Questions You Need to Master in 2019

2 / 2 Blog from Interview Questions

Become a Certified Professional

If your software takes excessive time to load or stalls while performing, the users will simply switch it off. You will be losing customers to your competition. If you are planning to start your career in Software Testing and you wish to know the skills related to it, now is the right time to dive in. These Performance Testing Interview Questions and Answers are collected after consulting with Performance Testing Certification Training experts.

The Performance Testing Interview Questions are divided into 2 sections:

Let’s get started with the first section of Performance Testing Interview Questions.

Performance Testing Interview Questions

Q1. What is Performance Testing?

Performance Testing is a type of software testing which ensures that the application is performing well under the workload. The goal of performance testing is not to find bugs but to eliminate performance bottlenecks. It measures the quality attributes of the system. 

Performance Testing - performance testing interview questions - edureka

The attributes of Performance Testing include:

  • Speed – It determines whether the application responds quickly.
  • Scalability – It determines maximum user load the software application can handle.
  • Stability – It determines if the application is stable under varying loads.

Q2. What are the different types of Performance Testing?

The different types of performance testing are:

performance testing types- performance testing interview questions - edureka

  • Load testing – It checks the application’s ability to perform under anticipated user loads. The objective is to identify performance bottlenecks before the software application goes live.
  • Stress testing – This involves testing an application under extreme workloads to see how it handles high traffic or data processing. The objective is to identify the breaking point of an application.
  • Endurance testing – It is done to make sure the software can handle the expected load over a long period of time.
  • Spike testing – This tests the software’s reaction to sudden large spikes in the load generated by users.
  • Volume testing – Under Volume Testing large no. of. Data is populated in a database and the overall software system’s behavior is monitored.
  • Scalability testing – The objective of scalability testing is to determine the software application’s effectiveness in scaling up to support an increase in user load.

Q3. What are the common performance problems faced by users?

Some of the common performance problems faced by users are:

  • Longer loading time
  • Poor response time
  • Poor Scalability
  • Bottlenecking such as coding errors or hardware issues

Q4. Name some of the common Performance Testing Tools.

The market is full of a number of tools for test management, performance testing, GUI testing, functional testing, etc. I would suggest you opt for a tool which is on-demand, easy to learn as per your skills, generic and effective for the required type of testing. Some of the common Performance Testing tools are:

  • LoadView
  • Apache JMeter
  • LoadUI Pro
  • WebLoad
  • NeoLoad

Q5. List out some common Performance bottlenecks.

Some common performance bottlenecks include:

  • CPU Utilization
  • Memory Utilization
  • Networking Utilization
  • S limitation
  • Disk Usage

Q6. What are the Parameters considered for Performance Testing?

The Parameters for Performance Testing are:

  • Memory usage
  • Processor usage
  • Bandwidth
  • Memory pages
  • Network output queue length
  • Response time
  • CPU interruption per second
  • Committed memory
  • Thread counts
  • Top waits

Q7. What are the factors for selecting Performance Testing Tools?

The factors that you must keep in mind while selecting Performance Testing Tools include:

  • Customer preference tool
  • Availability of license within customer machine
  • Availability of test environment
  • Additional protocol support
  • License cost
  • Efficiency of tool
  • User options for testing
  • Vendor support

Q8. What is the difference between Performance Testing & Functional Testing?

Performance TestingFunctional Testing
  • 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
  • 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

Q9. What is throughput 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.

Q10. What are the benefits of LoadRunner in testing tools?

Some of the benefits of LoadRunner are:

loadRunner benefits - performance testing interview questions - edureka

  • Versatility
  • Test Results
  • Easy Integrations
  • Robust reports
  • Enterprise Package

Q11. What is Endurance Testing & Spike Testing?

Endurance Testing – It is a type of performance testing where the testing is conducted to evaluate the behavior of the system when a significant workload is given continuously.

Spike Testing – It is a type of performance testing that is performed to analyze the behavior of the system when the load is increased substantially.

Q12. What are the common mistakes done in Performance Testing?

The common mistakes done in Performance Testing are:

  • Direct jump to multi-user tests
  • Test results not validated
  • Unknown workload details
  • Too small run duration
  • Lacking long duration sustainability test
  • Confusion on definition of concurrent users
  • Data not populated sufficiently
  • Significant difference between test and production environment
  • Network bandwidth not simulated
  • Underestimating performance testing schedules
  • Incorrect extrapolation of pilots
  • Inappropriate base-lining of configurations

Q13. What are the different phases for automated Performance Testing?

Phases for automated performance testing include:

Automated performance testing - Performance testing interview questions - edureka

  • Design or Planning
  • Build
  • Execution
  • Analyzing & Tuning

Q14. What is the difference between Benchmark Testing & Baseline Testing?

Benchmark TestingBaseline Testing
  • It is the method of comparing performance of your system performance against an industry standard that is set by other organization
  • It is the procedure of running a set of tests to capture performance information. When future change is made in the application, this information is used as a reference

Q15. What is concurrent user load in Performance Testing?

Concurrent user load in performance testing can be defined as something when many users hit any functionality or operation at the same time. Concurrent user load testing sends simultaneous artificial traffic to a web application in order to stress the infrastructure and record system response times during periods of sustained heavy load.

Q16. What is a Protocol? Name some Protocols

A protocol is a defined as a set of various rules for the purpose of information communication between the two or more systems.

Some of the Protocols are :

  • HTTP
  • FTP
  • Web Services
  • Citrix

Q17. What is a Performance Tuning?

performance tuning - performance testing interview questions - edurekaPerformance tuning is the improvement of system performance. Typically in computer systems, the motivation for such activity is called a performance problem. It can be either real or anticipated and most systems will respond to increased load with some degree of decreasing performance.

Q18. What are the types of Performance Tuning?

There are two types of Performance Tuning:

  1. Hardware Tuning – Enhancing, adding or supplanting the hardware components of the system under test and changes in the framework level to augment the system’s performance is called hardware tuning.
  2. 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.

Q19. List the need for opting for Performance Testing.

Performance testing is generally required to validate the following:

  •  The response time of application for the intended number of users-
  • Utmost load resisting capacity of an application.
  • The capability of the app under test to handle the particular number of transactions.
  • The constancy of an application under the usual and unexpected user load.
  • Making sure that users have an appropriate response time on production.

Q20. What are the reasons behind the discontinuation of manual load testing?

There were certain drawbacks of manual Load Testing that lead to the adoption of Automation load testing. Some of the reasons are:

  • Complicated procedure to measure the performance of the application precisely.
  • Complex synchronization procedures between the two or more users.
  • Difficult to assess and recognize the outcomes & bottlenecks.
  • Increased the overall infrastructure cost.

Q21. What is Profiling in Performance Testing?

Profiling is a procedure of pinpointing a bottleneck performance at miniature levels. This mainly includes developers or performance testers and is done by presentation teams for manufacturing . You can profile in any application layer which is getting tested. If you want to do application profiling you may require utilizing tools for performance profiling of application servers.

Q22. What are the entering & exiting criteria for Performance Testing?

enter exit criteria - performance testing interview questions - edureka

The starting of the performance testing is done at the design level only. After the testing is done, results are collected and later they are analyzed in order to make improvements regarding the performance. During the whole process of life cycle development, performance tuning is done and the factors on which it is based are scalability and reliability during the presence of the load, application release time and tolerance criteria of performance and stress. 

Q23. What are the activities involved in Performance Testing?

The activities involved in Performance Testing are:

  • Requirement gathering
  • Tool selection
  • Performance test plan
  • Performance test development
  • Performance test modeling
  • Test Execution
  • Analysis
  • Report

Q24. What is Stress Testing & Soak Testing?

Stress Testing – It is a software testing activity that determines the robustness of software by testing beyond the limits of normal operation. The performance results are analysed to know how far the resources can sustain the upper limit with good performance as expected.

Soak Testing – Soak Testing is a type of performance test that verifies a system’s stability and performance characteristics over an extended period of time. System resources are monitored with their performances getting affected with load increase. 

Q25. Differentiate between Performance Testing & Performance Engineering

The process of identifying the issues that disturbs the performance of any application is performance testing whereas, improving the performance of the application by observing the measurements got from the performing testing by necessary changes in terms of architecture, resources, implementation etc is performance engineering.

With this, we have come to the end of our first section of Performance Testing Interview Questions. Now let’s move on and check out some of the commonly asked questions on Apache JMeter.

Apache JMeter Interview Questions

Q26. What is JMeter?

Apache Jmeter - Performance Testing interview questions - edurekaJMeter is one of the Java tools which is used to perform load testing client/server applications. Apache JMeter is open source software, a 100% pure Java desktop application designed to load test functional behaviour and measure performance of the application.

Q27. How does JMeter work?

working of jmeter - performance testing interview questions - edureka

JMeter acts like a group of users sending requests to a target server. It collects response from target server and other statistics which show the performance of the application or server via graphs or tables.

Q28. What are Regular Expressions in JMeter?

Regular Expressions are used to search and manipulate text. JMeter is used for interpreting forms of regular expression or patterns being used throughout a JMeter test plan.

Q29. What are Samplers & Thread Groups?

Samplers – Sampler generates one or more sample results. These sample results have many attributes like elapsed time, data size, etc. It allows JMeter to send specific types of requests to the server, through samplers, thread group decides which type of request it need to make. Some of the useful samplers are HTTP request, FTP request, JDBC request etc.

samplers & threadgroups - performance testing interview questions - edureka

Thread Groups – JMeter is the beginning part of thread group elements. It is an important element of JMeter, where you can set number of users and time to load all the users given in the thread group.

Q30. What are the types of processor in JMeter?

The two types of JMeter are:

jmeter processor - performance testing interview questions - edureka

  • Pre-processor
  • Post processor

Q31. What are Pre-processor elements? List some of the elements.

A pre-processor is something that will happen before sampler executes. To configure the sample request prior to its execution or to update variables that are not extracted from response text pre-processor elements are used.

Some of the pre-processor elements include:

  • HTTP URL re-writing modifier
  • HTTP user parameter modifier
  • HTML link parser
  • BeanShell PreProcessor

Q32. What is a Timer in JMeter? What are the types of it?

A JMeter thread by default will send requests continuously without any pause. Timers are used to get a pause between the request.

timer - performance testing interview questions - edureka

The different types of Timer in JMeter are:

  • Constant Timer – This element delays each request in a Thread Group for the same amount of time.
  • Gaussian Timer – This element is used to delay each user request for a random period of time.
  • Synchronizing TimerThis element is used to release number of threads at given point.
  • Uniform Random Timer – This element is used to delay each request for a random period of time.

Q33. What is Test Fragment?

Test fragment is a type of element like Thread Group element. The only difference is test fragment is not implemented unless it is referenced by either a Module controller or an Include controller.

Q34. What is Assertion in JMeter? List the types of Assertion.

Assertion helps to verify that your server under test returns the expected results.

The Types of Assertion include:

Types of Assertion - Performance testing interview questions - edureka

  • Response Assertion – It facilitates the user by comparing the server response against a string pattern to check that the result is as expected. 
  • Duration Assertion – You may need to test the response from the server reaches in user-defined time. If it takes longer than the defined time, server response fails.
  • Size Assertion – It is to test that each response coming from server holds the expected number of bytes. It facilitates the user to specify the size.
  • XML Assertion – It verifies that the response coming from the server holds the data in a correct XML format.
  • HTML Assertion – It is helpful for checking the syntax of the response data.

Q35. What is the execution order of Test Elements?

The execution order of Test Elements is in the following sequence:

  • Configuration elements
  • Pre-Processors
  • Timers
  • Sampler
  • Post-Processors (unless SampleResult is null)
  • Assertions (unless SampleResult is null)
  • Listeners (unless SampleResult is null)

Q36. What are Configuration Elements?

Configuration Elements help you to create defaults and variables to be used by Samplers. They are also used to add or modify requests made by Samplers. These elements are executed at the start of the scope of which they are part. Therefore, a Configuration Element is accessed only from inside the branch where it is placed.

Q37. How to reduce the resource requirement in JMeter?

To reduce the resource requirements in JMeter:

  • Use non-GUI mode.
  • During the load, test doesn’t use “view results tree” or “view results in table” listeners. It is used only during scripting phase.
  • Don’t use functional mode.
  • Do not use similar samplers. Instead, use the same sampler in loop and use variable to vary the sample.

Q38. How to perform Spike Testing in JMeter?

By synchronizing, timer JMeter spike testing can be achieved. Synchronizing timer, blocks thread until a specific amount of threads has been blocked and then release them all together thus creating large instantaneous load.

Q39. Mention some of the JMeter Listeners

Some of the JMeter Listeners are:

  • Spline Visualizer
  • Aggregate Report
  • View Result Tree
  • View Result in Table
  • Monitor Results
  • Distribution Graph
  • BeanShell Listener
  • Summary Report

Q40. How to capture the script of the Authentication Window in JMeter?

Authentication - Performance testing interview questions - edureka

You can capture script by recording in the following manner:

  • First you have to Threadgroup in Testplan and then make HTTPProxyServer in Workbench.
  • Next, set port number in Global Setting box and modify your connection setting in IE as local host in address.
  • Then you can start http proxy server in JMeter and run your application for login.

Q41. What are the types of Controllers in JMeter?

The two types of Controllers in JMeter are:

Types of Controllers - performance testing interview questions - edureka

  • Samplers Controllers – Samplers allow JMeter to send specific types of requests to a server. They simulate a user’s request for a page from the target server.
  • Logical Controllers – Logical Controllers let you control order of processing of Samplers in a Thread. It can change the order of request coming from any of their child elements.

Q42. What are Pre-processor & Post-processor Elements?

Pre-processor – A Pre-Processor is something that will happen before a sampler executes. They are often used to modify the settings of a Sample Request just before it runs.

Post-processor – A Post-Processor executes after a sampler finishes its execution. This element is most often used to process the response data.

Q43. What are the uses of Monitor Test?

Some of the uses of Monitor Test are:

  • Monitors are useful for a stress testing and system management.
  • Used with stress testing, the monitor provides additional information about server performance.
  • Monitors makes it easier to see the relationship between server performance and response time on the client side.
  • As a system administration tool, the monitor provides an easy way to monitor multiple servers from one console.

Q44. What are the benefits provided by JMeter for Performance Testing?

Some of the benefits provided by JMeter for Performance Testing are:

  • It can be used to test performance for both static resources and dynamic resources.
  • It can handle a maximum number of concurrent users then your website can handle.
  • It provides the graphical analyses of performance reports.

Q45. What is Distributed Load Testing & how to achieve it?

Distributed Load testing - performance testing interview questions - edureka

Distributed load testing is the process through which numerous systems can be used for simulating a load of a large number of users. JMeter can do distribute load testing with the help of master-slave configuration. 

Q46. What are the different ways of Data Parameterization in JMeter?

Data parameterization - performance testing interview questions - edureka

Data Parameterization makes the scripts reusable where the values need not be hardcoded for the same request with different parameters.

Q47. What are the differences between JMeter & LoadRunner?

  • Open Source Tool
  • Developed by Apache
  • It lacks in UI
  • Less Technically Sound
  • Doesn’t support SAP & Siebel
  • Licensed Software
  • Developed by Mercury
  • UI is very impressive
  • It has more technical capabilities
  • Supports SAP, Siebel & Peoplesoft

Q48. What are the important plugins supported in JMeter?

The important plugins supported in JMeter are:

plugins - performance testing interview questions - edureka

  • Thread group Plugin 
  • Listeners Plugin
  • Samplers Plugin

Q49. Mention the differences between JMeter and SoapUI

  • It is used for load and performance testing HTTP, JDBC, JMS, Web Service(SOAP), etc.
  • It supports distributed load testing
  • JMeter Kit and Load Generator plugins are needed for IDE
  • 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

Q50. What is Workbench?

Workbench is a storage area for adding some components which can be added to test plan if required. Components of workbench does not get saved with the test plan automatically. They have to be saved separately as test fragments.

With this, we have come to the end of Performance Testing interview questions article. I Hope these Performance Testing Interview Questions will help you in your interviews. In case you have attended any interviews in the recent past, do paste those interview questions in the comments section and we’ll answer them. 

Also, check out the Performance Testing Certification Training by Edureka, a trusted online learning company with a network of more than 250,000 satisfied learners spread across the globe. This course provides you insights into software behavior during workload. In this course, you will learn how to check the response time and latency of software and test if a software package is efficient for scaling. The course will help you check the strength and analyze the overall performance of an application under different load types. 


Browse Categories

Subscribe to our Newsletter, and get personalized recommendations.