45
Workshop: Mobile Performance Testing Series I May 10, 2016 © Copyright 2016 Vivit Worldwide

Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

  • Upload
    others

  • View
    10

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Workshop: Mobile Performance Testing Series IMay 10, 2016

© Copyright 2016 Vivit Worldwide

Page 2: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Brought to you by

© Copyright 2016 Vivit Worldwide

Page 3: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Hosted By

© Copyright 2016 Vivit Worldwide

Chris Trimper

Western New York Chapter Leader

Performance Engineering SIG Leader

Page 4: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Today’s Speakers

© Copyright 2016 Vivit Worldwide

Silvia Siqueira

Product Marketologist

Hewlett Packard Enterprise

Gaspare Marino

Product Marketing Manager

- Performance Engineering

Hewlett Packard Enterprise

Page 5: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

• This “LIVE” session is being recorded

Recordings are available to all Vivit members

• Session Q&A:

Please type questions in the Questions Pane

Housekeeping

© Copyright 2016 Vivit Worldwide

Page 6: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Webinar Control Panel

Toggle View Window between

Full screen/window mode.

Questions

© Copyright 2016 Vivit Worldwide

Page 7: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Introduction to mobile performance testing

Gaspare MarinoProduct Marketing Manager - Performance Engineering

Silvia SiqueiraProduct Marketologist

Page 8: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Agenda

–Thrive to the new now: digital transformation

–Why mobile performance testing and its challenge

–Mobile performance explained

–HPE LoadRunner and HPE Mobile Center: test on real devices

–Understanding network conditions for mobile apps

–Demo

–Q&A

Page 9: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

9

Thrive to new now!

Digital transformation

Page 10: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Why mobile performance testing?

10

Page 11: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Customer

Experience

(CX)

Deliver great customer experience

Dimensional Research April 2016The perceived quality when users are interacting with your brand

User

Experience

(UX)

All the interactions a person has with your brand

Page 12: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

www.hpe.com/software/digitalUX

Build Monitor Optimize

Build a memorable digital experience

based on extensive real-world testing.

Find out how users are experiencing

your app with continuous analytics and

performance monitoring.

Continuously improve the digital user

experience by uncovering and fixing

any performance or security issues.

Page 13: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Complete end-user response time

Client Network Back-end

Page 14: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

It is not an easy task…

14

Page 15: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Challenges in mobile performance testing

AutomationDiversity

Network conditions

Server load

Performance variations

New technology

Page 16: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Challenges in mobile performance testing

AutomationDiversity

Network conditions

Server load

Performance variations

New technology

Page 17: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Challenges in mobile performance testing

AutomationDiversity

Network conditions

Server load

Performance variations

New technology

4G LTE 3G

Page 18: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Challenges in mobile performance testing

AutomationDiversity

Network conditions

Server load

Performance variations

New technology

Page 19: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Challenges in mobile performance testing

AutomationDiversity

Network conditions

Server load

Performance variations

New technology

The future is landing

Page 20: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Challenges in mobile performance testing

AutomationDiversity

Network conditions

Server load

Performance variations

New technology

iPhone 5

5.5smedian

load time

iPhone 6

6.75smedian

load time

Galaxy S5

5.1smedian

load time

Galaxy S6

4.91smedian load

time

Page 21: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Mobile web vs. native vs. hybrid apps

Mobile web, native, and hybrid apps have different infrastructure.

21

Page 22: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

The trade-offs using emulators

22

Pros

•Speed

•Control

•Convenience

•Cost

•Efficiency

Cons

•Power and battery

•Performance

•User experience

•Device-specific flaws and bugs

Development QA & Testing

Emulators Real Devices

Page 23: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Mobile performance explained

23

Page 24: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

How to select a script type for mobile applications in HPE LoadRunner

Mobile application - HTTP/HTML

Develop scripts using mobile devices or device emulators communicating with servers over HTTP.

Client application: either a browser based or native application.

TruClient – Mobile Web

Record user activity in browser-based mobile applications using TruClient technology.

Client application: browser based mobile version of a web site.

TruClient - Native Mobile

Record user activity in native and hybrid mobile applications using TruClient technology

(Requires HPE Mobile Center).

Client application: native or hybrid mobile application.

Page 25: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Mobile application - HTTP/HTML

25

Page 26: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

VuGen listening to specified proxy and port and record activities remotely

Recording methods

VuGen connect to agentand generate script based

on captured traffic

Script generation based on existing .pcap network traffic file

VuGen record against supported mobile emulator

Page 27: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Option 1: record and analyze trafficHow it works

Page 28: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Option 1: record and analyze trafficVuGen and Agent communication

Setup connection between VuGen and agent

Select the network interface to be recorded

Start and stop the agent trapping activities

Page 29: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Option 2: analyze trafficHow it works

External tool Create capture file(.cap, .pcap,

.lrcap, .saz, .har.)

Analyze traffic method

Page 30: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Option 2: analyze trafficOptions

Select the .pcap file to generate script from

Specify filter using client or server identify

Page 31: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Option 3: record emulator Point to Windows-based emulator applications

Page 32: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Option 4: proxy recording

–Configure VuGen to listen to recording machine at a specific port

–Set browser to go through target proxy to the AUT

Page 33: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

TruClient – Mobile Web

33

Page 34: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

• Solution based on TruClient technology

• Emulate different mobile devices using Firefox

• Measure end-to-end performance experience

TruClient – Mobile Web

Page 35: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Load Runner TruClient – Native Mobile

35

Page 36: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Test on real devices

Manage apps

Distribute, install, remove, start, stop

HPE Mobile Center

Manage your lab

Manage devices and OS

On-premise, iOS and Android, plug and play

Unlimited projects

Page 37: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

HPE LoadRunner and HPE Mobile Center

For web, hybrid and native apps

Virtual users

Single user – real device

Virtual users

Record/Replay

Scriptless via VuGen technology

Includes real network conditions

Measure the real user experience

Page 38: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Understanding network conditions for mobile apps

38

Page 39: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

How networks impact mobile performanceNetwork conditions might have a huge impact on user experience

39

TRT increase Errors

Page 40: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

HPE Network Virtualization

Optimize your applications prior to deployment

2.5G/3G/4G/WIFI emulation

• Discover and capture production network conditions

• Emulate and recreate real-world network conditions in the lab

• Identify the attributes that impact Performance

Virtualize network conditions

Page 41: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Demo

41

Page 42: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Thank youwww.hpe.com/software/mobileload

42

Page 43: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

• “Performance Engineering as a Competitive Differentiator”

• SIG Webinar 5/11/16 11:00 am EST

• Register here: http://www.vivit-

worldwide.org/events/EventDetails.aspx?id=808996&group=

• Our expert panel will collaboratively discuss how the capabilities of

Performance Engineering have been recognized as a significant competitive

differentiator across all: geographies, industries and market

• Vivit Deep Dive Session at HPE Discover on HPE LoadRunner and Network

Virtualization

• Monday, June 6 at 1:00 pm PDT

• Register here: http://www.vivit-

worldwide.org/events/EventDetails.aspx?id=805468&group=

Upcoming Performance Engineering

Events

© Copyright 2016 Vivit Worldwide

Page 44: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Discover 2016 is Hewlett Packard Enterprise’s must-attend global customer and partner event. Why attend?

• Explore how Hewlett Packard Enterprise is delivering IT solutions for the New Style of Business to help you go further, faster

• Network with 10,000+ attendees, including C-level executives, IT directors, engineers and HPE experts

• Find content for you, choosing from our broad array of technical and business sessions

• Explore the latest innovations from HPE in the Transformation Zone

• Find thousands of experts on hand to answer your questions and address your challenges

• Exchange ideas, information and best practices with other IT professionals and industry leaders

Register Now and receive your member discount with this

Vivit registration link:https://www.hpe.com/events/discoverSWVivit

Page 45: Introduction to Mobile Performance Testing · Introduction to mobile performance testing Gaspare Marino Product Marketing Manager - Performance Engineering ... Mobile web vs. native

Thank you

• Complete the short survey and opt-in for more information from Hewlett Packard Enterprise.

www.hpe.com

www.vivit-worldwide.org

© Copyright 2016 Vivit Worldwide