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.
What is difference between Simultaneous user and Concurrent user?
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.
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
superb
ReplyDeleteThat's amazing...
ReplyDeleteThankyou ......!....Dheeraj Hitech
ReplyDelete