1 / 12

Understanding Performance Testing Basics by Adnan Khan

Understanding Performance Testing Basics by Adnan Khan. Performance Testing.

asis
Download Presentation

Understanding Performance Testing Basics by Adnan Khan

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Understanding Performance Testing BasicsbyAdnan Khan

  2. Performance Testing The goal of performance testing is not to find bugs, but to eliminate bottlenecks and establish a baseline for future regression testing. To conduct performance testing is to engage in a carefully controlled process of measurement and analysis. Ideally, the software under test is already stable enough so that this process can proceed smoothly.

  3. Why We Need Performance Testing? • The failure of an application can be costly • Assure performance and functionality under real-world conditions • Locate potential problems before our customers do

  4. Load Testing Load testing is the process of creating demand on a system or device and measuring its response. Expose bugs that do not surface in cursory testing, such as memory management bugs, memory leaks, buffer overflows the process of exercising the system under test by feeding it the largest tasks it can operate with

  5. Stress Testing • Stress testing tries to break the system under test by overwhelming its resources Examples • double the baseline number for concurrent users/HTTP connections • take the database offline, then restart it • run processes that consume resources (CPU, memory, disk, network) on the Web and database servers

  6. LoadRunner Solution LoadRunner reduces personnel requirements by replacing human users with virtual users or Vusers. These Vusers emulate the behavior of real users—operating real applications Vusers can run on a single computer, LoadRunner reduces the amount of hardware required for testing. Vuser Type GUI Vuser RTE Vuser

  7. Measuring System Capacity

  8. Defining Testing Objectives

  9. LoadRunner Terms Scenarios:A scenario defines the events that occur during each testing session. Vusers:LoadRunner replaces human users with virtual users or Vusers Vuser Scripts: The actions that a Vuser performs during the scenario are described in a Vuser script. Transactions: A transaction represents an action or a set of actions that you are interested in measuring Rendezvous points: Rendezvous points instruct Vusers to wait during test execution for multiple Vusers to arrive at a certain point,

  10. LoadRunner Terms Controller: LoadRunner Controller to manage and maintain your scenarios. Load generator:the LoadRunner Controller distributes each Vuser in the scenario to a load generator Performance analysis: Following a scenario run, you can view performance analysis data in reports and graph

  11. LoadRunner Application Virtual User Generator: Controller: Analysis: Tuning Console:

  12. How LoadRunner Works

More Related