Top 10 Interview Questions | Performance Testing

Q1. What is Performance testing?

Ans: Performance Testing is a type of non-functional testing. Here, we test the system for response time, throughput and stability by using tools such as HP LoadRunner, JMeter, etc., for a fixed number of virtual users.

Q2. Mention different types of performance testing.

Ans: Types of Performance Testing:

Load Testing: This type of testing test the system for the normal expected load.

Stress Testing:  This type of testing test the system for a large load or peak load. It helps in understanding the behavior of the system under an extreme workload.

Endurance Testing: It is also called the stability test. This type of testing test the system for a large duration of time. Large duration range from some hours to many days.

Spike Testing: This type of testing tests the system for a sudden increase in load.

Volume Testing: This test populated so much data in the database. The main purpose is to see the behavior of the system under varying database volumes.

Scalability Testing: This test helps to find the feasibility of scaling up the capability of the system and tells which load needs the addition of hardware in the system.

Q3. What is the difference between Load testing and Stress testing?

Ans: Both Load Test and Stress Test are types of performance testing. First, test the system for the normal expected load while later test the system for a large load or peak load. It helps in understanding the behavior of the system under an extreme workload.

Q4. What is the Load testing process?


Q5. Explain what is Endurance Testing and Spike Testing.

Ans: As we discussed earlier, Endurance Testing test the stability of the system while Spike Testing test how the system deals with a sudden hike in load.

Q6. List out some of the performance testing tools.

Ans: I am listing some of the load test tools:

  • HPLoadrunner
  • Apache JMeter
  • StresStimulus
  • Dotcom-Monitor

Q7. How do you identify Performance test use cases of an application?

Ans: Identification of performance test cases is a tedious task. Generally, a performance tester tests those application scenarios which are more critical for an organization and which impact much to the organization. Suppose you are performing a load test for the e-commerce application. For select load test cases for this application,  you can identify the following test cases:

  • Selection of product
  • Search product
  • Purchase product
  • Payment for the product via a selection of different payment methods

Q8. List out some of the parameters considered for performance testing.

Ans: Although there are many parameters for performance testing important parameters are response time, throughput, memory usage, CPU usage, and hits per second.

Q9. Explain what are the common mistakes done in Performance Testing.

Ans: Common mistakes while doing performance testing:

  • Identification of wrong test cases for testing
  • Run load test from one location
  • Unable to find a Service Level Agreement (SLA) of load test by different stakeholders
  • Failing to identify a suitable tool for load test
  • Assume failure of load test when it crashes the system

Q10. Mention what is the difference between benchmark testing and baseline testing.

Ans: Benchmark testing is a type of test when you test the system against one standard or established performance of a product while Baseline testing creates a base for any measurement, comparisons, or calculations of results of the performance test.

Subscribe us to receive more such articles updates in your email.

If you have any questions, feel free to ask in the comments section below. Nothing gives me greater joy than helping my readers!

Disclaimer: This tutorial is for educational purpose only. Individual is solely responsible for any illegal act.

Leave a Reply

Your email address will not be published. Required fields are marked *

OWASP API Top 10 - 2023 7 Facts You Should Know About WormGPT OWASP Top 10 for Large Language Models (LLMs) Applications Top 10 Blockchain Security Issues What is Cyber Warfare?