Load Testing RIA using WebLOAD. Amir Shoval, VP Product Management amirs@radview.com



Similar documents
Load and Performance Load Testing. RadView Software October

RadView Software Whitepaper. Load Testing Web 2.0 Technologies Ajax-RIA-SOA-Web Services

Performance Testing for Ajax Applications

Open Source and Commercial Performance Testing Tools

What s New in WebLOAD 10.1

Adobe LiveCycle Data Services 3 Performance Brief

Google Web Toolkit (GWT) Architectural Impact on Enterprise Web Application

Flash and Python. Dynamic Object oriented Rapid development. Flash and Python. Dave Thompson

Integrating Web Messaging into the Enterprise Middleware Layer

Deepak Patil (Technical Director) iasys Technologies Pvt. Ltd.

Streaming Real-Time Data into Xcelsius Apps

Mike Chyi, Micro Focus Solution Consultant May 12, 2010

Performance Testing Process A Whitepaper

Chapter 12: Advanced topic Web 2.0

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0

Credits: Some of the slides are based on material adapted from

How To Test Your Web Site On Wapt On A Pc Or Mac Or Mac (Or Mac) On A Mac Or Ipad Or Ipa (Or Ipa) On Pc Or Ipam (Or Pc Or Pc) On An Ip

Using WebLOAD to Monitor Your Production Environment

Introduction to IBM Worklight Mobile Platform

Application Testing Suite Oracle Load Testing Introduction

Best Practices for Web Application Load Testing

Addressing Mobile Load Testing Challenges. A Neotys White Paper

How To Write A Web Server In Javascript

PLM integration with Adobe LiveCycle ES (Enterprise Suite)

Capacity Planning Guide for Adobe LiveCycle Data Services 2.6

Performance Testing Web 2.0. Stuart Moncrieff (Load Testing Guru) /

REST web services. Representational State Transfer Author: Nemanja Kojic

Titolo del paragrafo. Titolo del documento - Sottotitolo documento The Benefits of Pushing Real-Time Market Data via a Web Infrastructure

Web Applications Testing

Business Application Services Testing

Performance testing Web 2.0

Web Cloud Architecture

CARRIOTS TECHNICAL PRESENTATION

Google Web Toolkit. Introduction to GWT Development. Ilkka Rinne & Sampo Savolainen / Spatineo Oy

How To Build A Web App

Certified Selenium Professional VS-1083

TDAQ Analytics Dashboard

Features of The Grinder 3

Copyrighted , Address :- EH1-Infotech, SCF 69, Top Floor, Phase 3B-2, Sector 60, Mohali (Chandigarh),

WebLOAD User's Guide Version 8.0

Term Paper. P r o f. D r. E d u a r d H e i n d l. H o c h s c h u l e F u r t w a n g e n U n i v e r s i t y. P r e s e n t e d T o :

Rich Internet Applications

How To Test For Performance

Evaluation of Load/Stress tools for Web Applications testing

WEB SERVICES TEST AUTOMATION

JOURNAL OF OBJECT TECHNOLOGY

Smartphone Enterprise Application Integration

Introduction to BlackBerry Smartphone Web Development Widgets

Integrating Mobile apps with your Enterprise

PERFORMANCE TESTING. New Batches Info. We are ready to serve Latest Testing Trends, Are you ready to learn.?? START DATE : TIMINGS : DURATION :

Live Guide System Architecture and Security TECHNICAL ARTICLE

Bringing Value to the Organization with Performance Testing

Load Testing Ajax Apps using head-less browser tools. NoVaTAIG April 13, 2011 Gopal Addada and Frank Hurley Cigital Inc.

Accessing Data with ADOBE FLEX 4.6

Curl Building RIA Beyond AJAX

Application Testing Suite: A fully Java-based software testing platform for testing Oracle E-Business Suite and other web applications

Exploiting Web 2.0 Next Generation Vulnerabilities

Integrating Siebel CRM 8 with Oracle Applications

Fundamentals of LoadRunner 9.0 (2 Days)

GUI Test Automation How-To Tips

Performance Testing Web 2.0

1. INTERFACE ENHANCEMENTS 2. REPORTING ENHANCEMENTS

Is Liferay Right for Your Organization? Seven Things to Consider When Choosing a Portal Platform

FIVE SIGNS YOU NEED HTML5 WEBSOCKETS

USE OF PYTHON AS A SATELLITE OPERATIONS AND TESTING AUTOMATION LANGUAGE

WebLOAD IDE User's Guide Version 8.0

Spectrum Technology Platform

Testing Web Applications: Tools and Techniques

A standards-based approach to application integration

RIA Technologies Comparison

Data Visualization in Ext Js 3.4

Practical Android Projects Lucas Jordan Pieter Greyling

FRAFOS GmbH Windscheidstr. 18 Ahoi Berlin Germany

Business white paper. Load factor: performance testing for Web applications

Securely. Mobilize Any Business Application. Rapidly. The Challenge KEY BENEFITS

StruxureWare TM Center Expert. Data

LoadRunner and Performance Center v11.52 Technical Awareness Webinar Training

Step into the Future: HTML5 and its Impact on SSL VPNs

International Journal of Advanced Engineering Research and Science (IJAERS) Vol-2, Issue-11, Nov- 2015] ISSN:

POINT-TO-POINT vs. MEAP THE RIGHT APPROACH FOR AN INTEGRATED MOBILITY SOLUTION

SOFTWARE TESTING TRAINING COURSES CONTENTS

SOA Solutions & Middleware Testing: White Paper

SOA, case Google. Faculty of technology management Information Technology Service Oriented Communications CT30A8901.

IBM MobileFirst Hands-on Labs environment with Linux on z Systems and z/os

Course Summary. Prerequisites

Chapter. Solve Performance Problems with FastSOA Patterns. The previous chapters described the FastSOA patterns at an architectural

Mobile Application Performance Management

FRAFOS GmbH Windscheidstr. 18 Ahoi Berlin Germany

Solution Showcase Session. Enterprise 2.0 Computing Services

Ce document a été téléchargé depuis le site de Precilog. - Services de test SOA, - Intégration de solutions de test.

A Tool for Evaluation and Optimization of Web Application Performance

Adobe ColdFusion 11 Enterprise Edition

<Insert Picture Here> Application Testing Suite Overview

AJAX and jmaki for Web 2.0 Development using Java. Inyoung Cho Java Technology Evangelist Sun Microsystems, Inc.

Transcription:

Load Testing RIA using WebLOAD Amir Shoval, VP Product Management amirs@radview.com

Agenda Introduction to performance testing Introduction to WebLOAD Load testing Rich Internet Applications 2

Introduction to performance testing 3

Software Performance The speed at which software functions (subsecond response time versus three-second response time) How often software is available (99% uptime versus scheduled weekly downtime) How these two factors change as usage levels increase (from dozens of current users to thousands) 4

Software performance matters to the business Software performance is a limiting factor of business performance A financial services company can t provide a life insurance quote to a customer any faster than its quote engine can compute the appropriate rate An automotive supplier can t start building parts if the software that delivers orders from its OEM customers has been taken down by unanticipated usage levels A retailer can t process orders any faster than it can process credit card validations 5

Performance Testing Performance testing (performance verification) ensures that software performance meets the business needs. Most relevant for multi-user systems (such as web applications), focusing on testing the system s backend servers. Using tools to automate the testing process to verify the system s speed, availability and tolerance for load. These tools enable simulating multiple users accessing the program's services concurrently and measure their responsiveness. Often used synonymously with Load Testing. 6

Approached for load testing web applications Virtual Client Model Simulate real-user scenarios The application is statefull Verify the system is fast enough in terms of response times and user experience Transaction Per Second (TPS) Model The system exposes a set of services and/or needs to perform a set of transactions Services/transactions are stateless Can be consumed by several client applications Verify the services availability under load and their tolerance to increased levels of load 7

Challenges in load testing web applications 8 Modern web applications are becoming more challenging to test Web 2.0 Rich Internet Applications (RIA) AJAX Push / streaming Mashups SOA Web Services Desktop-deployed web applications (e.g. Adobe AIR) Testing method should match the service s usage Remote procedure call (RPC, remoting) Messaging Representational State Transfer (REST)

Introduction to WebLOAD 9

How Does WebLOAD Work? WebLOAD tests Web applications by generating Virtual Clients that simulate real-world traffic. Virtual Clients emulate the actions of human users by performing typical actions (user transactions) on your Web application. By increasing the number of Virtual Clients, you increase the load on the system. The behavior of the Virtual Clients is defined by JavaScript-based scripts called Agendas. During load execution WebLOAD captures, measures, validates and analyzes the user transactions, for both content and time. 10

WebLOAD Architecture Authoring Environment Test Script Load Generator(s) Virtual Clients WebLOAD IDE Execution Environment Statistics and Performance Data Performance Data System Under Test 11 WebLOAD Console Load Session Results Analysis & Reporting WebLOAD Analytics WebLOAD Highlights Distributed architecture Protocol level testing Web standard JavaScript Object oriented scripting Server-side monitoring via SNMP\ JMX\ PerfMon\ RSTATD

Test-script authoring 12 Integrated environment for script creation and debugging Proxy-based recorder Record extended HTTP traffic on protocol level (AJAX, WebServices, binary data). Records both HTTP & HTTPS, with built-in automatic recording settings for IE 7.0 and Firefox 2.0. JavaScript test scripts Visual and manual editing HTML & XML DOM Access Step-by-step debugger with log, watch and variable views COM & JAVA Integration and Extendibility Integrate your existing component or extend the WebLOAD capabilities

Load session definition 13 Define load session attributes Duration, Maximal load (up to thousands of Virtual Clients per Load Machine) Complex scheduling models Multiple user-scenarios Load machines Server-side statistics to collect Content validation Goal-oriented definition Define performance goals according to SLA / requirements Increase load until defined goals are met Report and/or stop the test

Load session execution On-line and real-time monitoring of the load session Display collected statistics in both charts and tables Create charts to display any combination of measurement Increase/decrease the number of virtual clients Pause/stop the session at any time Error messages displayed in the Log view 14

Analysis & Reporting Current version WebLOAD Reporter Predefined reports Custom reports Publish to standard formats List of Canned, Regression and Custom Reports Session Performance vs. Load Size Report Measurements Description 15 Next version WebLOAD Analytics More predefined reports Analyze using filters and parameters New stats: TPS, percentiles Regression reports Central session repository Design your own reports

About RadView Company founded 1993 Pioneer of web apps testing Investment of 250 man years in development of web testing tools 1600 customers worldwide Founder - Ilan Kinreich, (co - founder of Mercury Interactive) NASDAQ: IPO in 2000, raised $40M Customer base Product Market knowhow 16

Load testing Rich Internet Applications (RIA) Adobe Flex as a sample of RIA technology 17

What is RIA? RIA is not a technology by itself and there are several implementations for it: 18

Asynchronous JavaScript And XML - AJAX One of the key technologies behind Web 2.0 Web development technique for creating interactive web applications AJAX techniques DOM accessed by a client-side scripting language XMLHttpRequest object used to exchange data asynchronously with the web server. XML, plain text, JSON, preformatted HTML as data types passed between the client and the server. AJAX is not a technology in itself, but a term that refers to the use of a group of technologies 19

AJAX Sample <Title>Pizza Depot</Title> <Address>919 E Duane Ave</Address> <City>Sunnyvale</City> <State>CA</State> <Phone>(408) 245-7760</Phone> <Rating> <AverageRating>3.5</AverageRating> var mydatatable = new YAHOO.widget.DataTable("xml", mycolumnset, mydat asource,{initialrequest:"query=pizza&zip=94089&results=10"}); 20 Yahoo! (http://developer.yahoo.com/yui/datatable/)

Load Testing Tool Implementation Options Technology Protocol ( network ) level record and replay Based on sniffer like proxy recording Main PROs: Clear separation between server side and client side Not affected by application level changes and GUI Main CONs: Client side operation Binary payload Technology Events and API record and replay Based on events hooks for recording and emulation for playback Main PROs: GUI and client side testing Main CONs: Application dependent Cross-browser incompatibility Less scalabale Handle operations which are not client side triggered 21

RIA as Synchronous/Asynchronous Ajax application Load testing on the protocol level provides built-in support for RIA-Ajax testing. WebLOAD does not differ between standard HTTP methods and XMLHTTP requests. Agenda execution is synchronous. 22

Adobe Flex What is Adobe Flex? Adobe s solution for RIA. Adobe Flex is a development environment that enables developers to build applications that are rich in terms of how data flows between tiers. AMF (Action Message Format) Transport Channel AMF Channel / Secure AMF Channel HTTP Channel (AMFX) / Secure HTTP Channel Streaming AMF Channel RTMP Channel WebLOAD supports the HTTP and AMF channels 23

Adobe Flex Flash Remoting MX Gateway LiveCycle Data Services enhances the client-side Flex framework by providing highperformance connectivity with existing server-side data and business logic. LiveCycle Data Services integrates with existing common middleware Types of services provided in LiveCycle Data Services RPC Publish/Subscribe messaging Data Management 24

WebLOAD Adobe Flex Add-on Supports Flex 2 and up; Adobe AIR Record AMF 0/3 protocol over HTTP/HTTPS Debug and parameterize the agenda Verify the response Monitor Flex statistics Publish performance reports 25

Recording a Flex application 26

The Recorded Agenda 27

Playing the Agenda 28

AMF Response Verification 29

Collecting Adobe LCDS server-side statistics 30

Executing the Load Test 31

Call to Action Download WebLOAD evaluation version www.radview.com Provide us feedback amirs@radview.com VP product 32