Introduction to performance testing Silvia A Siqueira WW Sr. Product Mktg. Manager
Delivering applications that perform well Think about building a fancy and huge tower and discovering later that it can t handle more than 10% of the planned capacity! 2
Performance is fundamental! When customers struggle 43% 12% 16% 14% Abandon the transaction, try later on computer Go directly to a competitor Become more likely to prefer a competitor Log a complaint with customer service 3
Performance testing lifecycle Step 1 Planning the test Step 2 Step3 Test preparation: creating the scripts and scenarios Test execution: running and monitoring scenarios Step 4 Test analysis and reporting: understanding the results Step 5 Monitoring in production 4
Step 1 - Planning the testing Team Business goals and SLAs Application under test (AUT) Criticality Environment of the AUT Test requirements User behavior, user locations, and application timeframe usability Special factors regarding the application under test 5
Performance testing solution Emulate production workloads end-to-end Performance test Simulates thousands of users Internet/ WAN Web server App. server Database Simulates real users with thousands of virtual users Generates accurate, measurable and repeatable load on the system from a single point of control Pinpoints bottlenecks in the system 6
Understanding the terminology for performance testing Application under testing (AUT) End user Application Internet/WAN Middle tier (HTTP, WebSphere, server, network) Database 1 Author scripts Transaction record Check balance Transfer funds Pay bills 3 Generate load Simulate thousands of users 4 Measure impact 5 Analysis, diagnostics and reporting Test Scenario 2 Plan and control load tests 7
Understanding the terminology for performance testing Virtual User generator (VUGEN) End user Application Internet/WAN Middle tier (HTTP, WebSphere, server, network) Database 1 Author scripts 3 Generate load 4 Transaction record Check balance Transfer funds Pay bills Simulate thousands of users Measure impact 5 Analysis, diagnostics and reporting Test Scenario 2 Plan and control load tests 8
Understanding the terminology for performance testing Controller End user Application Internet/WAN Middle tier (HTTP, WebSphere, server, network) Database 1 Author scripts Transaction record Check balance Transfer funds Pay bills 3 Generate load Simulate thousands of users 4 Measure impact 5 Analysis, diagnostics and reporting Test Scenario 2 Plan and control load tests 9
Understanding the terminology for performance testing Load Generators End user Application Internet/WAN Middle tier (HTTP, WebSphere, server, network) Database 1 Author scripts Transaction record Check balance Transfer funds Pay bills 3 Generate load Simulate thousands of users 4 Measure impact 5 Analysis, diagnostics and reporting Test Scenario 2 Plan and control load tests 10
Understanding the terminology for performance testing Monitoring & profiling End user Application Internet/WAN Middle tier (HTTP, WebSphere, server, network) Database 1 Author scripts Transaction record Check balance Transfer funds Pay bills 3 Generate load Simulate thousands of users 4 Measure impact 5 Analysis, diagnostics and reporting Test Scenario 2 Plan and control load tests 11
Understanding the terminology for performance testing Analysis End user Application Internet/WAN Middle tier (HTTP, WebSphere, server, network) Database 1 Author scripts Transaction record Check balance Transfer funds Pay bills 3 Generate load Simulate thousands of users 4 Measure impact 5 5 Analysis, diagnostics and reporting Test Scenario 2 Plan and control load tests 12
Step 2 - Test preparation: Creating the scripts and scenarios Determine what is the best protocol to emulate user interaction based on the environment of the AUT Create a scenario for each transaction to be tested Understand and apply correlations for complex applications 13
Step 3 - Test execution: Running and monitoring scenarios Now is time to simulate thousands of users running multiple scenarios simultaneously Monitor the test execution Have a profiler (HP Diagnostics) to accelerate the resolution of issues found in the performance testing 14
Step 4 - Test analysis and reporting Determine which transactions passed or failed the set service-level objective Analyze possible causes of failure Review application performance risks 15
Performance testing in action Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Grows with your organization s demands Accommodates your needs from project teams to the Performance Centers of Excellence Flexible delivery options On-premise Term licenses In-the-cloud and SaaS Testing-as-a-Service Daily, monthly, quarterly, semester, annual Multiple service options HP performance testing for small budget or limited time to complete your testing Any size project or company size One day, multiple days or years Unlimited options for testing in-the-cloud 17
Ensure unique customer experience with HP LoadRunner Innovated solution Scalable to support any size project organization Integrated products for the entire application lifecycle Flexible licensing and deployment models Broadest technology and platform support in the industry Extensive eco-systems of partners and IT professionals for local support and resources 18
Q&A Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Thank you Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.