Q. 6 Why is the need for performance testing?
Ans: Performance testing is done for evaluating the performance of an application under some stress and load condition. Generally, this is measured in terms of the user activity’s response time. Performance Test scenarios are designed to test the performance of the whole system at high stress and high load conditions. Performance Testing gives confidence to the developer as well as the client that the application can handle X number of user with any degradation in the performance. It also helps to identify the break-point of the application.
Q. 7 How to plan performance testing in a systematic way?
Ans: Performance Testing Life Cycle helps to carry-out the performance testing in a well manner with a proper plan. Performance Test Life Cycle has different phases and each phase has its own deliverable to track the performance test activities.
Q. 8 What is Performance Testing Life Cycle?
Ans: Performance Testing Life Cycle is a systematic process to carry out the non-functional testing of a software system or application. Mostly all the software industries follow this process to plan the performance testing activities and find out the performance bottleneck in the software system.
Q. 9 What are the phases of PTLC?
Ans: PTLC has following phases:
- Risk Assessment
- Requirement Gathering & Analysis
- Performance Test Planning
- Performance Test Design
- Workload Modelling
- Performance Test Execution & Result Analysis
- Reporting & Recommendations
Q. 10 Mention what all thing involves in the Performance Testing Process?
Ans: Following are the major steps:
- First, identify the impacted components.
- Identify the performance acceptance criteria: It contains constraints and goals for throughput, response times and resource allocation
- Figure out the physical test environment before carrying performance testing, like hardware, software and network configuration
- Plan and design Performance tests: Define how usage is likely to vary among end users and find key scenarios to test for all possible use cases
- Test environment configuration: Before the execution, prepare the testing environment and arranges tools, other resources, etc.
- Test design implementation: According to your test design, create a performance test
- Performance Test Data: Arrange or prepare the sufficient amount of test data
- Run the tests: Execute and monitor the tests
- Analyze the test result and raise the defects (if found)
- Repeat the test after the tuning of the application
- Prepare the test report and conclude the test result