Performance Testing Interview Questions and Answer

What is Performance testing?

Performance testing is a discipline where we test our system to evaluate the system performance when subjected to virtual user load.

What is the difference between Overlay graph and Correlate graph?

Overlay Graph: It overlay the content of two graphs that shares a common x-axis. Left Y-axis on the merged graph show the current graph value & Right Y-axis show the value of Y-axis of the graph that was merged.

Correlate Graph: Plot Y-axis of two graphs against each other. The active graph Y-axis becomes X-axis of merged graph. Y-axis of the graph that was merged becomes merged graph Y-axis.

What is performance tuning? How many types are there?

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.

Aspired to become an Performance Testing? 

Explore the post to discover the know-hows on Performance Testing Training.

What is difference between Simultaneous user and Concurrent user?

       Simultaneous users : Run in parallel and perform different activities on application at the same time.

Example: One user clicking on submit, other user is logging in, another user is clicking on Next button etc.

Concurrent users : Run in parallel and perform same activities on application at the same time.

Example: Users clicking on the same Submit or Next or upload or etc button at the same time.

What is Ramp-Up and Ramp-Down?

The rate at which we increase the load on system by adding virtual users is called ramp up.

The rate at which virtual users exit from system is called as ramp down.

What is a protocol and how many you have worked on?

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.

What is concurrent user load in performance testing?

Concurrent user load can be defined as when multiple users hit to any functionality or transaction at the same time.

Explain The Sub-genres Of Performance Testing?

  • Load Testing: it is conducted to examine the performance of application for a specific expected load. Load can be increased by increasing the number of user performing a specific task on the application in a specific time period.
  • Stress Testing: is conducted to evaluate a system performance by increasing the number of user more than the limits of its specified requirements. It is performed to understand at which level application crash.
  • Volume Testing: test an application in order to determine how much amount of data it can handle efficiently and effectively.
  • Spike Testing: what changes happens on the application when suddenly large number of user increased or decreased.
  • Soak Testing: is performed to understand the application behavior when we apply load for a long period of time what happens on the stability and response time of application.

What Is The Reason Behind Performing Automated Load Testing?

  • Difficult to measure the performance of the application accurately.
  • Difficult to do synchronization between the users.
  • Number of real time users are required to involve in Performance Testing
  • Difficult to analyze and identify the results & bottlenecks.
  • Increases the infrastructure cost

What Activities Are Performed During Performance Testing Of Any Application?

  • Create user scenarios
  • User Distribution
  • Scripting
  • Dry run of the application
  • Running load test and analyzing the result

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 testing phases in performance or JMeter training Hyderabad. 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.

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)

- Test Execution

- Result Analysis (compare Expected to Actual results)

- Defect Tracking

- Reporting