Presentation is loading. Please wait.

Presentation is loading. Please wait.

©Company confidential 1 Performance Testing for TM & D – An Overview.

Similar presentations

Presentation on theme: "©Company confidential 1 Performance Testing for TM & D – An Overview."— Presentation transcript:

1 ©Company confidential 1 Performance Testing for TM & D – An Overview

2 ©Company confidential 2  Introduction & Performance Engineering Coverage on TM&D  Consultation & Performance Engineering Phases  Sample Model for S&D Reporting  Data collection and Analysis  Post test Identification  Deliverables Agenda

3 ©Company confidential 3 Objective To have a high level understanding of Performance Engineering Engagements for TM & D

4 ©Company confidential 4 Practical conversations on performance  “I think we need Performance Testing, but what is it exactly?”  “I think around 300 users will use the system, they will do all kinds of activity, so can we determine performance ?  “Houston, this application is slow … do we need high-end server?”  “What you will do with production data in performance?”  “Post Test charts looks nice, let me know the performance is good or bad”  “Does that mean we’re done? Can we release?” And a latest conversation two days back, one client called me and asked “ I am not winning the on-line bidding, can I send 20-30 bidding requests at a time, and increase my bidding chances?”

5 ©Company confidential 5 Introduction  Performance Testing has three dimensions (Keeping the resource as constant): –Number of Users –Amount of Data –Amount of Activity  Any performance related issues can be mapped using these dimensions  Performance is dependent on the following: –Resources that are used by the application Computing Resources, Network Resources and Storage Resources –Bottlenecks and wait times –The number of operations involved in performing the computations and the time taken to complete these operations

6 ©Company confidential 6 High Level Scope of Performance Testing  Testing integrated portal access  Customer data query and updation  Report generation (weekly/monthly) - S&D - ODMS (outlet specific reports) - Key Accounts - Performance and Process  Offline data access and update  Report Publishing in central system Performance team will identify the other crucial Transactions during System Study Level Outlet Data Management System S&D Strategy, Planning and Evaluation Business Performance and Process Assessment Key Accounts/ HoReCa TM&D Performance Coverage on TM & D Systems

7 ©Company confidential 7 Our High Level Process Consultation

8 ©Company confidential 8 Major Steps in Performance Testing Develop Performance Strategy/test plan Develop Scripts, test data Set up Production mirror image Test design Test Execution Confirm Performance Requirements Factor/Metric Continuous Analysis Feedback to Dev team Report issue/Concern Post Test Analysis Report Development Issue Management System Product Maturity Analysis Load – Performance – Stress testing Reliability Testing Security testing Usability testing Compatibility testing

9 ©Company confidential 9 Speed - Does the application respond quickly enough for the intended users? Scalability – Will the application handle the expected user load and beyond? Stability – Is the application stable under expected and unexpected user loads? Confidence – Are you sure that users will have a positive experience on go-live day? Controller Load Generation Vuser host Analysis Portal Server/s Database server TM&D System Under Test Solves the resource limitations Replace Testers with Virtual Users Runs many Vusers on a few machines Controller manages the virtual users Analyzes results with graph & report tools Repeats tests with scripted actions Tool: Performance Automation

10 ©Company confidential 10 Sample Transaction Slow Ramp up, Collect Client side, Server Monitor mean data Ramp Down, Collect Client side, Server Monitor mean data Peak Hour Ramp up, Collect Client side, Server Monitor mean data

11 ©Company confidential 11 User Model For each Transaction, User Model is created based on  Authentication and Authorization of users  Feature Usage Criteria/Transaction Type  Total Number of Users in System  User random activities on a transaction  Transactions/unit time  Transaction MIX

12 ©Company confidential 12 Online Monitoring Some common data for online monitoring  Error & Exception  Response time graph  Throughput graph  Transaction passed failed  Page/component download time graph  Keep checking server logs  Capture the slow SQLs  Server Resource

13 ©Company confidential 13 Performance Measurement  Workload Data  Data Characteristics  Execution Characteristics –Path characteristics –Software resource usage –Processing overhead  Computer System Usage –Scenario Response Time –Scenario Throughput –Key System Resource Usage –Resource Utilization –Server throughput  Software resources: –CPU Usage –Memory Usage –SQL Queries –File I/O –Messages –Logging to files or databases –Calls to Middleware functions –Calls to software in a different process, thread or processor –Application Cache and Buffers –OS Handles like threads, memory, sockets – network I/O and type of network resource access, –number of connections to the databases etc

14 ©Company confidential 14 Assignment Deliverables Pre-Test  Performance Strategy for TM&D  Performance Modeling for major sections of applications  Resource Engagement outline and Effort estimation  Delivery Process Methodology  Performance Entry Criteria On-Test  Detailed Test Plan  Test Scripts/Templates, Test design  Test Configuration Map (Data/Setup)  Test Tool, monitoring agent setup and PoC Report (LoadRunner)  Performance Exit Criteria  Test Results, Review log  Post Test Data  Risk/Issue log Post-Test  System/sub-system performance analysis Report  Bottleneck identification

15 ©Company confidential 15 Performance findings and Related Tuning  Code optimization  Caching strategy  Load balancing  Distributed Computing Logic  SQL Query Profiling  Usage of database indexing  Removal of Normalization  Resource configuration (RAM, Network)  Client software version (OS, Browser)  Identification of performance pattern  …

16 ©Company confidential 16  Most often performance is thought of as something related to “ tuning the code ” – this is perhaps the single most reason why performance failures occur  80% performance issues belong to architecture and business definition – it is impossible to get more than 10% benefit by tuning code

17 ©Company confidential 17 Your Questions are welcome Thank you Bangalore TEAM

Download ppt "©Company confidential 1 Performance Testing for TM & D – An Overview."

Similar presentations

Ads by Google