Q. 31 How can you identify performance test use cases for any application?
Ans: The core business functionality and volume are two major factors to priorities the performance test case. The core business functionality should have the topmost preferences and the user load comes at second place. After finalizing the scope of core business flow, check for the database operations, concurrency limit etc. and other functionality which has a moderate load that may increase in future.
Q.32 How to identify memory leak in the system?
Ans: You need to run the soak or endurance test to identify the memory leakage. When you run a test for a longer duration and observe that the server memory is going to increase gradually and remain unchanged even after the test completion then there may be the memory leakage.
To confirm the suspect you need to analyse the GC.
Q. 33 What is throughput?
Ans: In LoadRunner, throughput is the data amount sent by the server in response to the request of the client in a given time period. LoadRunner measures throughput in bytes and MB. In JMeter, you measure throughput in terms of requests per second or minute.
Q. 34 How are benchmark and baseline tests different?
Ans: The process of running tests in sets is to capture information performance is baseline testing. This info can be used as a reference point when changes in the future are made to applications. On the other hand, benchmark tests are the process of comparing the performance of your system against industry standards giving by other organizations. You can, for example, run baseline tests on applications, analyze the collected results and modify many indexes on the database of a SQL Server before running the identical test once more using the previous same results to find out whether or not new results are the same, worse or better.
Q.35 What are the common mistakes a performance tester does?
Ans: Some common mistakes are:
- Without a smoke test with few users, directly jump to multi-user tests
- Start another test without validating the previous test result
- Bombarding the server without pacing or think time
- Run the test with unknown workload details
- Too small run duration
- No user ramp-up period
- Lacking long duration sustainability test
- Confusion on user concurrency
- a significant difference between test and production environment
- No Network bandwidth stimulation
- Underestimating performance testing schedules
- Shorten the performance testing schedule and consider just a formality
- Incorrect extrapolation of pilots
- Inappropriate base-lining of configurations
- Perform bottleneck analysis without considering all the important graphs
- Perform the test without validating the test data