Get Knowledge from Video instead of Content:

Saturday 1 July 2017

PT - Basics Interview Question #2

Q. 6 Why does performance testing need to happen?
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. It is designed for testing a whole system’s performance at high stress and high load conditions. For example, if customers like withdrawing funds from an ATM. If the response of the machine after card insertion takes more than five minutes the system fails to function. Performance Testing Types include capacity, stress and load. Capacity is the measure of the capacity overall and what time a time of response becomes unacceptable. Stress examines the behaviour of an application under activity in peak bursts. The load is analogous to testing volume and to determine how applications deal with data in large amounts.

Q. 7 How to identify a memory leak?
Ans: You need to run the soak or endurance test when you are trying to identify a leak in memory. When you are running a test for a longer duration, the memory of the server in question will gradually grow if there is a leak in memory.

Q. 8 What is profiling?
Ans: Profiling is a process of pinpointing a bottleneck performance at minute levels. This is done by performance teams for engineering which includes developers or performance testers. You can profile in any application layer getting tested. If you need to do application profiling you might need to use tools for performance profiling of application servers. When profiling an application server, you identify issues at the level of code such as memory intensive API’s If the database is what you are profiling using the tools for database profiling, you can identify a number of things such as a full table scan query, high-cost queries and the number of executed SQL.

Q. 9 What are the automated testing phases of performance?
Ans: There are involved phases in testing automated performance and these are:
  • Planning- this is the first phase where teams gather the performance testing requirements. This can include team requirements, system requirements, technical requirements and business requirements.
  • Design- this phase is made up of requirements that are automated and gathered during the phase of planning/design.
  • Execution- this phase is actually accomplished in multiple phases. It consists of various testing types like benchmarking testing and baseline testing.
  • Result and Analysis- during testing of performance, you can capture all the related system details like System Resources and Response Time for identifying the system’s major bottlenecks. After these are identified, you will then be able to improve the overall performance of the system.

Q. 9 What is throughput in performance testing?
Ans: In Performance Testing, throughput is the data amount sent by the server in response to the request of the client in a given time period. It can also be the unit number of work you can handle per time unit. You measure throughput in terms of per second requests, reports per year, hits per second or daily calls, etc. In many cases, you calculate throughputs in bits per second. Generally, you get higher performance with higher throughput value.

Q. 10 What is a baseline test?
Ans: This test is performed on the existing applications before commissioning the changes. The result of such a test is called "Baseline Test Result" which is compared with Benchmark test result (The test which is performed on updated code/application). In some cases, performance test conducted on the previous release is also considered as Baseline Test.

Next: Interview Question #3

Previous: Interview Question #1


4 comments :

  1. Hi Gagandeep Malviya,
    Could you please send list of HP LoadRunner Function and describe user of each function.Please send details below mail id:sbheemaiah406@gmail.com


    Thanks
    Bheemaiah

    ReplyDelete
    Replies
    1. Hi Bheem,

      Please refer the URL:
      https://perfmatrix.blogspot.com/2017/04/important-loadrunner-functions.html

      Delete
  2. Hello Gagan,

    A bit confused in baseline and benchmark test, in my case we do test post commissioning the changes to application and call it as baseline test. Could you please clear this confusion.

    ReplyDelete
    Replies
    1. Hi Chandan,

      In your case, that test will be called as baseline for the next test which will be conducted on next release or sprint.

      Delete