Short Test Cycles for Performance Testing with TruClient Technology

Similar documents
HP TruClient technology: Accelerating the path to testing modern applications. Business white paper

Business white paper. Setting the pace. Testing performance on modern applications

Introduction to ALM, UFT, VuGen, and LoadRunner

What s New in LoadRunner/Performance Center Questions and Answers October 26, 2017

Performance Testing for Web Applications

Master Every Stage of Your Mobile App Lifecycle: Micro Focus Mobile Center. Brochure. Application Development, Test & Delivery

Mercury LoadRunner Click and Script Technology Reduces Scripting Time Up to 80 Percent

Micro Focus Desktop Containers

Intelligent Performance Software Testing

White Paper. Modernize Application Performance Testing

Break Through Your Software Development Challenges with Microsoft Visual Studio 2008

Cross-Browser Functional Testing Best Practices

Virtual Private Networks with Cisco Network Services Orchestrator Enabled by Tail-f - Fast, Simple, and Automated

Brochure. Security. Fortify on Demand Dynamic Application Security Testing

Why load test your Flex application?

Performance Metrics for.net: Application Defender

MODERNIZE INFRASTRUCTURE

F5 Reference Architecture for Cisco ACI

IBM Rational Application Developer for WebSphere Software, Version 7.0

Move Performance Testing to the Next Level with HP Performance Center September 11, Copyright 2013 Vivit Worldwide

Intelligent Mobile App Testing

How to Evaluate a Next Generation Mobile Platform

BUILDING the VIRtUAL enterprise

SOLUTION BRIEF NETWORK OPERATIONS AND ANALYTICS. How Can I Predict Network Behavior to Provide for an Exceptional Customer Experience?

PTC Employs Its Own Arbortext Software to Improve Delivery of PTC University Learning Content Materials

VISUAL APPLICATION CREATION AND PUBLISHING FOR ANYONE

Adobe LiveCycle ES and the data-capture experience

The Truth About Test Data Management & Its Impact on Agile Development

Shine a Light on Dark Data with Vertica Flex Tables

Design and deliver cloud-based apps and data for flexible, on-demand IT

Desktop virtualization for all

Enabling Performance & Stress Test throughout the Application Lifecycle

Why Converged Infrastructure?

The Now Platform Reference Guide

SHARE THIS WHITEPAPER. Fastest Website Acceleration for New HTTP Protocol with Alteon NG and Advanced HTTP/2 Gateway Whitepaper

Symantec Data Center Transformation

Bringing DevOps to Service Provider Networks & Scoping New Operational Platform Requirements for SDN & NFV

HP APPs v.12 Solutions for Dev-Ops

PLEXXI HCN FOR VMWARE ENVIRONMENTS

THE STATE OF IT TRANSFORMATION FOR TELECOMMUNICATIONS

Transforming the Cisco WAN with Network Intelligence

Business Process Testing

The ROI of UI Toolkit Standardization

Paper. Delivering Strong Security in a Hyperconverged Data Center Environment

Cisco Software-Defined Access

Preparing your network for the next wave of innovation

Migrating a Business-Critical Application to Windows Azure

A Strategic Approach to Web Application Security

An Overview of Microsoft Visual Studio 2008

Oracle Mobile Hub. Complete Mobile Platform

Cisco HyperFlex and the F5 BIG-IP Platform Accelerate Infrastructure and Application Deployments

Achieving Digital Transformation: FOUR MUST-HAVES FOR A MODERN VIRTUALIZATION PLATFORM WHITE PAPER

ENTERPRISE MOBILE APPLICATION DEVELOPMENT WITH WAVEMAKER

PERSPECTIVE. End-to-end test automation A behaviordriven and tool-agnostic approach. Abstract

WIND RIVER NETWORKING SOLUTIONS

Video Conferencing & Skype for Business: Your Need-to-Know Guide

GET CLOUD EMPOWERED. SEE HOW THE CLOUD CAN TRANSFORM YOUR BUSINESS.

Continuously Discover and Eliminate Security Risk in Production Apps

Hortonworks DataFlow. Accelerating Big Data Collection and DataFlow Management. A Hortonworks White Paper DECEMBER Hortonworks DataFlow

Digital Workspace SHOWDOWN

TREND REPORT. Ethernet, MPLS and SD-WAN: What Decision Makers Really Think

What s New in VMware vsphere 5.1 VMware vcenter Server

Cisco Unified Computing System Delivering on Cisco's Unified Computing Vision

Packaging for Websphere Development Studio was changed with V6R1.

Dell EMC Hyper-Converged Infrastructure

Adobe Marketing Cloud Best Practices Implementing Adobe Target using Dynamic Tag Management

Web Service Testing for the New Digital Age

Predictive Insight, Automation and Expertise Drive Added Value for Managed Services

UNLEASHING THE VALUE OF THE TERADATA UNIFIED DATA ARCHITECTURE WITH ALTERYX

HPE LR120 LoadRunner 12.x Essentials

Case Study: Dodging the Pitfalls of Enterprise Ajax Applications

CHOOSING THE RIGHT HTML5 FRAMEWORK To Build Your Mobile Web Application

Service Delivery Platform

Automated Testing of Tableau Dashboards

Sahi. Cost effective Web Automation

ACCELERATING SAP: INNOVATION IN TEST AUTOMATION

Etanova Enterprise Solutions

BUSTED! 5 COMMON MYTHS OF MODERN INFRASTRUCTURE. These Common Misconceptions Could Be Holding You Back

IT TRENDS REPORT 2016:

Happy Birthday, Ajax4jsf! A Progress Report

PEACHTECH PEACH API SECURITY AUTOMATING API SECURITY TESTING. Peach.tech

Deliver End-to-End Systems Management for Cisco Data Centers That Run Microsoft Applications

Brochure. Application Development, Test & Delivery. Seven Ways to Fail. Avoid the business risks of inadequately testing your applications.

The Programmable Network

ALCATEL-LUCENT ENTERPRISE INTELLIGENT FABRIC TECHNOLOGY REMOVING THE LAST BARRIER FOR IT TO SUPPORT AGILE BUSINESS APPLICATION NOTE

Building a Customized Test Automation Framework Using Open Source Tools

FIVE BEST PRACTICES FOR ENSURING A SUCCESSFUL SQL SERVER MIGRATION

IBM Spectrum NAS. Easy-to-manage software-defined file storage for the enterprise. Overview. Highlights

SD-WAN Solution How to Make the Best Choice for Your Business

Making the case for SD-WAN

Micro Focus Security Fortify Audit Assistant

PVS Interactive Short Locator: Establishing Efficiency and Predictability in the LVS Short Debug Process for Advanced SoC Design

Luckily, our enterprise had most of the back-end (services, middleware, business logic) already.

Oracle Application Development Framework Overview

TEST STUDIO FEATURES FOR SUCCESSFUL TEST AUTOMATION

IT TRENDS REPORT 2016:

Leading the Evolution. Micro focus SilkTest. The Quality Solution for Robust Functional Test Automation

Oracle Forms Modernization Through Automated Migration. A Technical Overview

Cloud Computing: Making the Right Choice for Your Organization

Testing Tools to Support Agile Software Delivery. The Critical Role of Automated Functional Testing in Enterprise Environments

Transcription:

White Paper Application Development, Test & Delivery Short Test Cycles for Performance Testing with TruClient Technology

Table of Contents page Keeping Up in a Complex Era... 1 Riding the Web 2.0 Wave... 1 Adjusting for Modern Methods... 3 Out with the Old: The Trouble with Traditional Testing Tools... 3 An Up-to-Date Solution for Testing Web 2.0 Apps: Micro Focus TruClient Patented Technology... 4 Benefits of Micro Focus TruClient... 5 Inside Micro Focus TruClient Technology... 7 Answering the Web 2.0 Challenge... 8

This paper explores the challenges of testing Web 2.0 applications and looks into reasons why traditional testing solutions aren t a good fit for testing applications built with Ajax and other Web 2.0 technologies. Keeping Up in a Complex Era Many of today s Web applications are developed using Web 2.0 technologies. These powerful new tools offer advanced features for building dynamic, interactive, user-friendly applications that help companies stay ahead of competition. But at the same time, they also present considerable new risks and challenges. The changes in the way rich Internet applications (RIAs) work and behave make it even more critical to adequately test the performance of the applications. However, the sheer complexity of the new technologies, the ever-growing and changing number of toolkits, and the absence of industry standards make it difficult to find an accurate solution for performance testing. Traditional testing tools can t keep up with the continual new levels of complexity of RIA. Micro Focus TruClient technology available in Micro Focus LoadRunner, Micro Focus Performance Center and Micro Focus StormRunner Load is an answer to this challenge: an innovative, browser-based virtual user generator that supports simple Web applications, as well as modern, JavaScript-based applications built with virtually any available Asynchronous JavaScript and XML (Ajax) toolkit.by using the UI-level recording based on the browser s own Document Object Model (DOM), the Micro Focus TruClient technology makes scripting much easier, so that companies can use nontechnical or novice testers for scripting. This frees up valuable technical resources to focus on other critical tasks such as the actual test execution and analysis. In addition, TruClient also makes scripting much faster, allowing companies to significantly reduce test cycle time. This paper explores the challenges of testing Web 2.0 applications and looks into reasons why traditional testing solutions aren t a good fit for testing applications built with Ajax and other Web 2.0 technologies. It introduces the Micro Focus TruClient technology, and discusses how this revolutionary technology helps advance, accelerate, and simplify performance testing for Web and Web 2.0 applications. Riding the Web 2.0 Wave Web 2.0 has taken the IT world by storm. It has provided a new way of developing and using Web applications: taking a leap from simple, static methods of retrieving and delivering information to highly complex, interactive, user-centric, collaborative Web applications. A growing number of companies are taking advantage of the new techniques and concepts of Web 2.0, using Web 2.0 technologies to help with their application transformation and modernization initiatives. Organizations are building new, modern, interactive front ends for their core business applications while preserving the underlying business logic and database structure. 1

White Paper Short Test Cycles for Performance Testing with TruClient Technology Technologies such as Ajax give companies a great way to add a fresh, contemporary look and advanced features to their applications without having to completely rewrite them. Almost all new Web applications today are developed using technologies such as Ajax, Adobe Flash, Adobe Flex, or interactive Web application frameworks such as Microsoft Silverlight. The unique advantage of such technologies is that they can transport data from the Web server without having to reload the entire page, making websites function more like desktop applications and creating a highly interactive user experience. Innovative technologies can create unforeseen challenges if not properly tested. Cloud Technologies such as Ajax give companies a great way to add a fresh, contemporary look and advanced features to their applications without having to completely rewrite them. Web Server App server Data server Web Server Services EDW Web Server App server Data server Client logic Figure 1. Challenges using innovative technologies Web Server Web Services Scripting for Web 2.0 applications such as Ajax can be extremely complicated. Record a Script Parameterize Data Do Correlations Add Transactions Add Logic Figure 2. Scripting for Web 2.0 But, as always, with power comes complexity, and innovative technologies can create unforeseen challenges if not properly tested. In Web 2.0 applications, the clients become thicker, richer in features and functionality, and more resource intensive. Similarly, features like prefetching an interactive way of returning a query with every keystroke can significantly increase the roundtrip traffic to the database and greatly impact performance. This can potentially create a considerable amount of performance issues, violate SLAs, and negatively impact the end-user experience. 2

Rich Internet applications allow for dynamic, asynchronous data transfer, using multiple protocols and a variety of servers. They gather data from distributed, heterogeneous sources, including cloudbased and external data storage options. Adjusting for Modern Methods Rich Internet applications allow for dynamic, asynchronous data transfer, using multiple protocols and a variety of servers. They gather data from distributed, heterogeneous sources, including cloud-based and external data storage options. Thick clients with widgets and client-side functionality often have serverside components, which may need additional processing before the server sends the data back to the client. Developers who build these widgets often adding them from available toolkits do it on their development machines and don t realize that once separated across the network, the server component may cause latency and affect the overall system performance. Testing Web 2.0 applications presents its own set of challenges. The complexity of new technologies, the lack of commonly recognized and accepted standards, and the sheer multitude of emerging frameworks and toolkits make it difficult for companies to build Web 2.0 testing strategies and select appropriate automation solutions. New technologies such as Ajax enable prefetching, where every new letter that a user enters into a search engine suggests a new set of results that are dynamically delivered from the server. All this activity generates a lot of network traffic and can significantly impact performance. Network latency and bandwidth constraints can also create performance bottlenecks. To accurately predict the performance of an application, it is necessary to test individual components and services, but equally critical are server monitoring and end-to-end performance testing, along with accurate WAN emulation. Testing Web 2.0 applications presents its own set of challenges. The complexity of new technologies, the lack of commonly recognized and accepted standards, and the sheer multitude of emerging frameworks and toolkits make it difficult for companies to build Web 2.0 testing strategies and select appropriate automation solutions. Traditional testing tools focus on protocol-level verification, offering no framework-level support or ability to accurately recognize objects in these new, rich clients, making it virtually impossible to effectively validate the performance of Web 2.0 applications. Script creation, which has always been a lengthy, time-consuming process that requires domain and application expertise, becomes even more complex in Web 2.0 applications. Out with the Old: The Trouble with Traditional Testing Tools The emergence of new Web 2.0 technologies has also transformed the world of testing. In the early Web days, testing tools were based on protocol-level recording. They recorded the http requests from the browser to the server and back. Dynamic values that the server sent back, such as session IDs, had to be manually correlated. As applications became more complex, so did the scripting. Correlations started to require advanced scripting and application expertise, and IT scripting became a complex and timeconsuming process. QA organizations then started shifting to UI-level recording, which focuses on verifying specific objects in a browser. Testing tools didn t need to work on the lower transport level layer; they could instead focus 3

White Paper Short Test Cycles for Performance Testing with TruClient Technology on the objects in the DOM. However, Ajax introduced a new set of complexities: client-side processing and asynchronous communication. The UI-level testing tools that focused on the DOM also no longer worked. Record and replay tools needed to add JavaScript-rendering agents on top of the DOM to be able to support the multitude of different toolkits used to build Web 2.0 applications. This approach in turn presented its own insurmountable challenge: with new toolkits becoming available every month and old toolkits being constantly updated and revamped, no vendor could keep up and provide a reasonable level of support for the new functionality. Additionally, conventional GUI automation tools were simply too heavy and could typically automate only a single user session per operating system session. A successful performance testing solution needs to have a concurrent multiuser, multisession driver, simultaneously automating multiple sessions. Micro Focus has been in the forefront of performance testing.with the growing popularity of Web 2.0 technologies, Micro Focus set out to find a toolkitagnostic solution that would support all modern applications, as well as make scripting a faster and easier process. An Up-to-Date Solution for Testing Web 2.0 Apps: Micro Focus TruClient Patented Technology Micro Focus has been in the forefront of performance testing. With the growing popularity of Web 2.0 technologies, Micro Focus set out to find a toolkit-agnostic solution that would support all modern applications, as well as make scripting a faster and easier process. The result was a completely revolutionary, patented solution that works with the events from the end-user s interactions with the Web application. Micro Focus TruClient which works with Micro Focus LoadRunner, Micro Focus Performance Center and Micro Focus StormRunner Load is an innovative, browser-based virtual user generator (VuGen) that supports simple Web as well as modern JavaScript-based applications. The scripting engine is embedded within the browser, and behaves like a true browser client. It utilizes a unique, patented approach to object recognition, which makes it an extremely flexible and extensible solution for testing Web 2.0 applications. It provides interactive recording and scripting, which makes scripting faster. It significantly reduces script maintenance. UI-level recording removes the need for programming and correlations, enabling even the nontechnical business users to participate in the testing process. Micro Focus TruClient is completely agnostic to any specific framework or toolkit being used in the application and supports nearly all available Ajax toolkits, helping make testing of Web and Web 2.0 applications faster, easier, and more comprehensive. 4

By moving the scripting engine into the browser in an updated and greatly simplified form, the Micro Focus TruClient technology completely revolutionizes the scripting process. Benefits of Micro Focus TruClient Arguably the most time-consuming and labor-intensive process in performance testing is developing the test scripts. Although modern testing tools have significantly simplified the process of capturing the test script by recording the user s interaction with an application, the fundamental problems with scripting remain the same: Traditional scripting tools require a sequential approach to scripting: first, the basic steps are recorded, creating a shell script. This script is then taken offline, and undergoes further manual steps such as data parameterization and correlations, followed by additional steps of adding transactions and any other required logic in order to make the scripts perform as desired. To create a well-designed, reusable, working performance testing script, a tester requires a certain amount of expertise and programming knowledge. This is especially true for complex, interconnected applications with new technologies that often support critical business transactions. Scripts created at the protocol level are vulnerable to the slightest application changes. If changes occur to the application, often the scripts have to be discarded and redone. Scripting for Web 2.0 applications has a unique set of challenges due to the complexity of applications, client-side logic, asynchronous communication, and multiple, ever-evolving frameworks and toolkits 1. Micro Focus TruClient Simplifies Scripting for Web Applications By moving the scripting engine into the browser in an updated and greatly simplified form, the Micro Focus TruClient technology completely revolutionizes the scripting process. The UI-level recording, based on the browser s own DOM, makes it easier for nontechnical users to participate in script creation. The user simply interacts with an application, and the powerful Micro Focus TruClient engine captures every step in the form of a script. No correlation, coding, or programming skills are required for capturing and replaying the Micro Focus TruClient script. For power users who are familiar with C, JavaScript, and other programming languages, Micro Focus TruClient also offers full access to work with the script and enhance it on the code level. By combining the ease of use and the breadth of code-level functionality, Micro Focus TruClient becomes a versatile tool for both business users and developers alike. Micro Focus TruClient enables novice and nontechnical testers to create performance testing scripts, without requiring technical knowledge or in-depth understanding of the scripting process. Now scripting can be done faster and easier, saving companies time and freeing technical resources to focus on more advanced tasks. 5

White Paper Short Test Cycles for Performance Testing with TruClient Technology 2. Micro Focus TruClient Accelerates Scripting and Shortens Test Cycles The Micro Focus TruClient technology makes scripting faster, reducing scripting time by as much as 75 percent 1, by offering dynamic, interactive functionality that lets users customize scripts during the recording. By removing the need to perform multiple sequential steps and time-consuming functions such as correlations, and by combining the recording and editing process into one, the Micro Focus TruClient technology helps significantly reduce test cycle time. This innovation is especially welcome in organizations that use Agile methods for delivering applications faster and with higher quality. By shortening the script creation time, Micro Focus TruClient allows more load tests to be performed earlier in the development process, identifying problems earlier in the lifecycle where they are easier and cheaper to fix. Micro Focus TruClient scripts are also more robust and intuitive, making them easier to maintain as the application changes. This also leads to greater reuse of the testing scripts, increasing the ROI on automated load testing and improving application reliability and stability. By reducing the amount of time required for test script creation, Micro Focus TruClient helps accelerate applications time to market. In today s highly competitive business environment, this can easily translate into a significant competitive advantage, increased revenues, and improved customer loyalty. By removing the need to perform multiple sequential steps and timeconsuming functions such as correlations, and by combining the recording and editing process into one, the Micro Focus TruClient technology helps significantly reduce test cycle time. 3. Micro Focus Ajax TruClient Leverages the Micro Focus TruClient Technology and Supports all Ajax Applications Micro Focus Ajax TruClient can precisely and efficiently test all types of Ajax applications. It easily handles a variety of Ajax objects such as slider bars. By looking at the true DOM, Micro Focus TruClient automatically inherits compatibility with all supported toolkits in the browser. Rather than going through a DOM or a DOM emulator, the new Micro Focus TruClient is based on an event-level record and replay. Instead of recording the state changes to the objects in the DOM, Micro Focus TruClient looks at the event handlers that are causing the JavaScript to render in particular ways, and as a result, Micro Focus TruClient can achieve a very high level of Ajax object recognition. Ajax applications represent business-critical, end-userfacing functionality. Until now, it has been practically impossible to effectively and efficiently test these applications. The innovative technology of Micro Focus Ajax TruClient makes Ajax testing simpler, faster, and more reliable than ever before. Traditional Script Development Run Analysis Fix Scripting with Micro Focus TruClient Run Analysis Fix Figure 3. TruClient simplifies scripting and reduces scripting time 1 Based on data from customer surveys. 6

Micro Focus TruClient is the revolutionary new technology for testing modern applications. Figure 4. TruClient simplifies testing modern applications Inside Micro Focus TruClient Technology The recording mechanism in Micro Focus TruClient technology is fully interactive. When users interact with an application, they can see the script being developed on the screen. Using a unique, patented approach to object recognition, the script automatically recognizes and inserts the names of widgets in the application. The Micro Focus TruClient recording engine can automatically suggest alternative automation steps, saving you time on script debugging and troubleshooting. To enable the script to more accurately represent the production environment, you can enhance it with parameters, replacing static data values with variables. To enable acceptable performance levels, you can add a transaction that measures the amount of time it takes to perform a certain function. To check the accuracy of the transaction, you can add a verification step. In Micro Focus TruClient, you can simply select the object and define the value that you need to verify. For example, you may want to validate that the amount of money that s been added to the account matches the number that you asked to transfer. 7

White Paper Short Test Cycles for Performance Testing with TruClient Technology You can add synchronization functions to match the execution of the Micro Focus TruClient script with the output from your application. Synchronization points allow the script to pause in the replay while waiting for an object, a window, a dialog, or another type of control to appear based on a specified condition. By adding a JavaScript synchronization code logic, you can accurately capture the response times based on asynchronous events. Object identification is a major component of the Micro Focus TruClient technology. Various functions are available to enable correct object identification, such as the ability for the client to relearn the objects you are using in the step, or the fact that you can teach the system about the objects that are related to the one that you are using in the step. You can also use manual options for object identification, such as XPath and JavaScript code. You can add synchronization functions to match the execution of the Micro Focus TruClient script with the output from your application. Once the script has been recorded, the user can replay it to see if there are any errors. During replay, you can see the recorded actions being replayed in the browser. If an error is discovered, the user can highlight the object that failed, and Micro Focus TruClient automatically recognizes the selected step. Replay logs are also available through the VuGen. The Micro Focus TruClient technology works with Micro Focus LoadRunner, Micro Focus StormRunner Load and Micro Focus Performance Center the enterprise-level performance testing solution as well as with Micro Focus Application Performance Management (APM), for creating synthetic transactions to monitor applications in production. Answering the Web 2.0 Challenge With more companies moving toward modernizing their applications and adding new Web 2.0 functionality to their core business systems, the Micro Focus Software engineering team has taken on the challenge of completely rethinking the way events and objects are being recorded. The result is the Micro Focus TruClient technology an innovative, browser-based virtual user generator that supports simple Web applications as well as modern JavaScript-based applications, including Ajax. Using a unique approach to event-level recording, Micro Focus TruClient is able to support nearly all available Ajax toolkits, helping make the process of performance testing Web 2.0 applications more reliable, efficient, and scalable. Micro Focus TruClient makes performance test scripting faster and easier. It helps shorten the test cycles by integrating the script recording and editing processes. Testers can customize tests as they record their interactions with an application, removing the need to return to the same script multiple times to add parameters, data, and correlation. This streamlined scripting process helps save valuable testing time and 8

Micro Focus LoadRunner is the most complete solution for mobile application performance testing for both browser-based, as well as native applications. Micro Focus TruClient extends as Micro Focus Mobile TruClient to support testing for browser-based mobile applications.to learn more about testing mobile applications visit www.software.microfocus. com/en-us/software/ performance-testing/ mobile shortens the release cycles, enabling organizations to gain a competitive advantage by bringing applications to market faster and with better quality. Faster, easier scripting also makes Micro Focus TruClient scripts truly efficient in organizations that use Agile methods. Faster, more accurate performance tests earlier in the lifecycle mean fewer problems downstream. The intuitive, interactive nature of Micro Focus TruClient technology and its complete lack of correlation and programming enable even novice testers to create working load testing scripts. At the same time, Micro Focus TruClient provides full access to behind-the-scenes technology for power users with advanced scripting requirements. Involving nontechnical resources into the scripting process translates into significant savings for organizations that are now able to use their highly skilled programmers for more advanced and technically demanding tasks. Learn More At /performancetest 9

Additional contact information and office locations: 362-000041-002 4AA3-0172 H 05/18 2018 Micro Focus or one of its affiliates. Micro Focus and the Micro Focus logo, among others, are trademarks or registered trademarks of Micro Focus or its subsidiaries or affiliated companies in the United Kingdom, United States and other countries. All other marks are the property of their respective owners.