ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient...

Post on 10-Apr-2020

2 views 0 download

Transcript of ABCs of Performance Testing Series II Simplify Testing€¦ · TruClient What is it? •TruClient...

© Copyright 2014 Vivit Worldwide © Copyright 2014 Vivit Worldwide

ABCs of Performance Testing Series II – Simplify

Testing November 11, 2014

© Copyright 2014 Vivit Worldwide

Brought to you by

© Copyright 2014 Vivit Worldwide

Hosted by

Petar Puskarich

Consultant

Nationwide Insurance

© Copyright 2014 Vivit Worldwide

Today’s Speakers

Silvia Siqueira

WW Product Marketing Manager

HP Software

Shlomi Nissim

Research and Development Manager

HP Software

© 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

© Copyright 2014 Vivit Worldwide

Webinar Control Panel

Questions

Toggle View Window between

Full screen/window mode.

© 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

© 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

© 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!

© 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

© 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

© 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

© 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

© 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

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

How it works

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

Web evolution

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

The evolution of the web

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

1

2

3

4

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

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

© 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

© 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

© 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

© 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

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

Key concepts: Objection recognition

© 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

© 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

© 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

© 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.

© 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

© 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.

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

Key concepts: Steps synchronization

© 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

© 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)

© 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.

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

Replay events

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

TruClient to Web(HTTP/HTML)

© 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

© 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

© 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

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

StormRunner Load demo

© 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

© 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

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

Join the performance testing revolution

K

© 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

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

Q&A

© 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

© 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

© 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