abcs of performance testing series ii simplify testing€¦ · truclient what is it? •truclient...

49
© Copyright 2014 Vivit Worldwide © Copyright 2014 Vivit Worldwide ABCs of Performance Testing Series II Simplify Testing November 11, 2014

Upload: others

Post on 10-Apr-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Vivit Worldwide © Copyright 2014 Vivit Worldwide

ABCs of Performance Testing Series II – Simplify

Testing November 11, 2014

Page 2: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Vivit Worldwide

Brought to you by

Page 3: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Vivit Worldwide

Hosted by

Petar Puskarich

Consultant

Nationwide Insurance

Page 4: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Vivit Worldwide

Today’s Speakers

Silvia Siqueira

WW Product Marketing Manager

HP Software

Shlomi Nissim

Research and Development Manager

HP Software

Page 5: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Vivit Worldwide

Housekeeping

• This “LIVE” session is being recorded

Recordings are available to all Vivit members

• Session Q&A:

Please type questions in the Questions Pane

Page 6: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Vivit Worldwide

Webinar Control Panel

Questions

Toggle View Window between

Full screen/window mode.

Page 7: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

ABCs of performance testing Series II – Simplify testing Shlomi Nissim, TruClient R&D Silvia Siqueira, Prod Mkt. Mgr. for Performance Testing

Page 8: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

One of the series of performance testing webinars for you!

What this webinar is about:

• Simplify testing with TruClient

• What is it?

• What are the benefits in using it?

• How it works—live demo

• Key concepts: Deliver faster apps with TruClient

• Converting TruClient scripts to HTML

• See an end-to-end test with the newest HP solution: StormRunner Load

• Q&A

Page 9: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Why performance testing is critical

Get work done! Grow business

Teach the new generation, build the future!

Performance when you need safety! Take us

everywhere!

Understand health, save lives!

Research on time, discover the “new”

Connect, bring generations together

Five stars apps, bring a

smile to your face!

Page 10: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Business growth

The need to be proactive: App performance testing The cost of doing performance testing

Trusted brand

Revenue

High productivity

Customer satisfaction

Applications

Faster user response time

Page 11: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

TruClient What is it?

• TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple Web, mobile as well as modern JavaScript-based applications.

• The scripting engine is embedded within the browser, and behaves like a true browser client.

• HP TruClient is completely agnostic to any specific framework

Page 12: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Scripting for web 2.0 and mobile can be extremely complicated

Page 13: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Scripting for web 2.0 and mobile can be extremely complicated

Page 14: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Benefits

• HP TruClient accelerates scripting and shortens test cycles

• HP TruClient simplifies scripting for Web and mobile applications

• HP TruClient technology and supports all Ajax applications

75% Reduce scripting

time

Page 15: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

How it works

Page 16: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Web evolution

Page 17: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

The evolution of the web

Page 18: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

1

2

3

4

Page 19: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Page 20: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Page 21: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Application -

Server Side

Extensibility-oriented architecture

Browser TruClient

RRE

Consumer

JS

Extension

s

Core Application -

Client Side

Driver

Page 22: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Browser TruClient

RRE

LR JS

Extension

s

Core Application Under

Test - Client Side

IPC

Client

TruClient Mdrv

Extension IPC

Server

VuGen

Controller

or Load

Generator

Infra Channels

Extensibility-oriented architecture

Application

Under Test -

Server Side

Page 23: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

TruClient within HP Software products

LoadRunner

Performance Testing

Business Service

Management

Performance Monitoring

AppPulse

Performance Monitoring in

Cloud

WebInspect

Security Testing

StormRunner

Performance Testing in Cloud

Mdrv No Mdrv

No VuGen VuGen

Page 24: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

TruClient solutions

Web

Firefox, IE, Chrome (Future)

Mobile Web

Firefox

Mobile Native

Firefox as IDE

New

Page 25: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Key concepts: Objection recognition

Page 26: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Object identification methods in TruClient

Electors TruClient patented algorithm

JavaScript Write code that will

locate the object in the document

XPath

Write your own Xpath, or use the automatically generated suggested

Custom

Page 27: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Automatic electors

Using patented heuristics, TruClient

identifies the element type and

creates a matching step

Not bound to specific JavaScript

framework.

No early knowledge about the AUT is

required

Page 28: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Alternative steps

In dynamic pages, TruClient

heuristics are enhanced by

suggesting alternative steps

Page 29: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Related object

In dynamic pages, the Related Object

dialog allows you to enhance object

identification by telling TruClient about

another “anchor” object, with a known

position compared to the watned element.

Page 30: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

XPath identification A fallback in case TruClient Electors

didn’t find the right object, XPath

allows to use the XML Path where

the object is expected to be

If the XPath is dynamic, use

the evalXPath function from

the JavaScript API

Page 31: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

JavaScript identification

An additional fallback for TruClient

Electors, or for handling dynamic

XPath.

By default, evalXPath is used, and

can easily be parameterized.

In addition to XPath, any JavaScript

based functionality can be used to

find the wanted object.

Page 32: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Key concepts: Steps synchronization

Page 33: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Automatic step end events

TruClient patented heuristics

determine when a step should stop,

and the next step should start

Page 34: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Automatic step end events

For measuring specific behavior,

you can manually change the end

event for a specific step.

This can also be used as a fallback for

cases where you know that the wanted

object wasn’t downloaded or rendered yet

(for example – a case where the AUT is

running a slow Javascript function before

opening a dialog)

Page 35: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Automatic step end events

Default values for timeout and

minimum time can be overridden for

a specific step.

The default values can also be set

in the settings dialog.

Page 36: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Replay events

Page 37: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

TruClient to Web(HTTP/HTML)

Page 38: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Web-

HTTP/HTML TruClient Ajax

12.00 new feature – TC2Web

• Powerful

• Small footprint, low cost

• Not real Web UI operation

• Elegant

• Real UI operation

• Big footprint, high cost

Page 39: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Hybrid replay

12.00 new feature – TC2Web

• Powerful, generate high stress to AUT

• Have UI operation test

• Low cost

Page 40: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

LoadRunner

http

traffic

TC

Event

TruClient

LR http server

Web protocol

recording proxy

Web protocol

script

Browser

Internet

Tc2Web addin

12.00 new features – TC2Web

Page 41: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

StormRunner Load demo

Page 42: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Performance

testing solutions

Profiler solution

to pinpoint root cause Diagnostics

Detect network behavior Network Virtualization

Virtualize test environment Service Virtualization

Monitor with SiteScope

Delivered on SaaS

Performance

Center

on-premise

StormRunner Load LoadRunner

HP performance testing solutions

Page 43: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Simple, smart and scalable cloud testing

Provisioning

SRL: 5-10 minutes

Real-time and off-line analysis

SRL: immediately

Easily design and create load test in

under 10 minutes

Simple

Understand anomalies and

problems in real-time using

predictive analytics

Smart

Automatically scale to 1M+ vUser

load tests

Scalable

StormRunner Load

HP performance testing solutions

Page 44: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Join the performance testing revolution

K

Page 45: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Next Webinar:

Getting started with

performance testing

December 10, 2014 10am - San Francisco | 6pm - London | 1pm - New York

Speaker: Ian Molyneaux

Register here

Page 46: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Q&A

Page 47: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

www.pronq.com/software/StormRunner-

load

www.hp.com/go/LoadRunner

Page 48: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Vivit Worldwide

Don’t Miss – Register Today

• HP Discover 2014 Barcelona – December 2 – 4, 2014, The Fira Barcelona, Gran Via

– Register at:

http://h30614.www3.hp.com/Discover/home?jumpid=va_r11754_us/en/large/tsg/pl

_ot_aw_homepage_vanity%20url/discover_mkg/20130808

Page 49: ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient is an innovative, browser-based virtual user generator (VUGen) that supports simple

© Copyright 2014 Vivit Worldwide

Thank you

• Complete the short survey and opt-in for more

information from HP.

www.hp.com

www.vivit-worldwide.org