• No results found

LoadRunner and Performance Center v11.52 Technical Awareness Webinar Training

N/A
N/A
Protected

Academic year: 2021

Share "LoadRunner and Performance Center v11.52 Technical Awareness Webinar Training"

Copied!
69
0
0

Loading.... (view fulltext now)

Full text

(1)

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

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

LoadRunner and

Performance Center v11.52

Technical Awareness Webinar Training

(2)

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

Agenda

LoadRunner and Performance Center v11.52 TAW

Protocol Enhancement

Virtual User Generator Enhancement

Virtual Table Server

Shunra Network Virtualization Enhancement

Analysis Enhancement

(3)

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

(4)

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

(5)

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

Web Transport Protocol

(6)

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

Windows 8 and IE 10 Support

Fully Windows 8 and IE 10 compliant

(7)

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

Google Chrome Browser Support

Support both record and replay

(8)

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

Correlation Scan Exclusion

Exclude strings using regular

(9)

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

(10)

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

Proxy Recording

(11)

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

Overview

Enable VuGen to record AUT on the any machine

• Supports AUT installed on a mobile device, Linux or Mac machine

• Supports Web and Mobile HTTP protocols

(12)

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

Step 1: Configure VuGen to Record in Proxy Mode

Start record using LoadRunner Proxy

• Select new recording mode

• Configure listening port

(13)

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

Step 2: Configure AUT Proxy Settings

Setup AUT proxy to be VuGen machine with corresponding port

(14)

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

Step 3: Perform Business Process

Go through business process while traffic being redirected to VuGen

• Stop recording

(15)

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

Proxy Recording with Mobile HTTP

Proxy Recording against a mobile application:

(16)

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

Solution Limitation and Future Plans

Limitation

• AUT and VuGen machines has to be on the same network

• Not supporting recording mobile device using 3G/4G network

• Portmapping not enabled

Future Plans

• Solution to cover more protocols (e.g. Silverlight)

(17)

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

Demo

(18)

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

LoadRunner Mobile Recorder

(19)

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

Overview

Record mobile traffic directly from mobile device

(20)

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

Step 1: Record Business Process on Mobile

Generate capture file (.lrcap) on mobile device

• Launch LR Mobile Recorder

• Start recording

• Minimize LR Mobile Recorder

• Perform business process

(21)

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

Step 2: Transfer Captured file to VuGen machine

(22)

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

Step 3: Generate Script in VuGen Machine

Select Mobile HTTP protocol

(23)

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

(24)

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

LoadRunner Mobile Recorder

Advantages

• Works on any http-based applications

• Works on both phone and tablet devices

• Simple to use

Disadvantages

(25)

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

Mobile Recording Usability

Enhanced mobile documentation

• Display mobile recording guideline

(26)

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

Demo

(27)

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

(28)

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

Replay Statistics

Enhanced replay statistics

• Display detailed results per Iteration and

Transaction

(29)

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

HP Live Network

Share data between LoadRunner users

• Use HP Passport or

dedicated credentials

Supported

content types

List of available content

Download

Pause/Cancel

pending requests

Open downloads

(30)

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

Web Snapshot Pane

UI perform faster when:

(31)

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

Script Management

Faster script management

• Script with huge Actions and Recording Logs

• Script creation and re-opening

• Script navigation

Enhanced script inclusion

(32)

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

Switch Layout

Replay performance faster

(33)

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

(34)

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

Legacy VTS

Data sharing between virtual users

• Windows-based UI

(35)

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

New VTS

Completely rewritten

• Web-based UI

• Backward compatibility to old API

• Support authentication and SSL

• Most code written in Javascript

• Linux support

(36)

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

VTS Administration

Remote access

(37)

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

Comparison

Old VTS

New VTS

Displaying rows

show only 32767 rows

10 Millions

Data supported

limit by physical memory limit by disk space

Can admin remotely

No

Yes

Persistency

Data loss if server crash

Data persist to disk, survive

server crash

Support run logic

No

Yes

Support Unicode (Server)

No

Yes

(38)

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

Client API

APIs

Initialization \

Termination

vtc_connect

vtc_disconnect

lrvtc_connect

lrvtc_disconnect

vtc_get_last_error

Queries

vtc_query_column

lrvtc_query_column

vtc_query_row

lrvtc_query_row

Submissions

vtc_send_message

lrvtc_send_message

vtc_send_if_unique

lrvtc_send_if_unique

vtc_send_row1

lrvtc_send_row1

Updates

vtc_update_message

lrvtc_update_message

vtc_update_message_ifequals

lrvtc_update_message_ifequals

vtc_update_row1

lrvtc_update_row1

vtc_increment

lrvtc_increment

vtc_clear_message

lrvtc_clear_message

vtc_clear_column

lrvtc_clear_column

vtc_clear_row

lrvtc_clear_row

Retrievals

vtc_retrieve_message

lrvtc_retrieve_message

vtc_retrieve_messages1

lrvtc_retrieve_messages1

vtc_retrieve_row

lrvtc_retrieve_row

Miscellaneous

vtc_create_column

lrvtc_create_column

vtc_column_size

lrvtc_column_size

vtc_free

N/A

(39)

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

Demo

(40)

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

(41)

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

Shunra Network Virtualization

What is it?

License to use an extension to HP LoadRunner and

(42)

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

Enhanced Network Emulation Configuration

Assign Emulation Location by Group

(43)

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

Emulate Per Group or Per Load Generator

(44)

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

(45)

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

(46)

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

(47)

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

Improve Performance

Enhance result processing speed

• Using SQLite

Almost the same speed as MS Access

Support up to 32GB of DB

• Faster when connected to ALM

(48)

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

Location Based Analysis

Support Shunra’s multiple Location per load generator

(49)

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

(50)

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

LoadRunner Jenkins Plug-in

(51)

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

Jenkins

What is it?

Open source continuous integration tools allowing users to

(52)

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

HP Application Automation Tools v2.0

Support for creating performance test steps with LR 11.52

(53)

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

(54)

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

(55)

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

Step 3: Configure Build Step Properties

Locate LoadRunner scenario file(s) and configure timeouts

(56)

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

Step 4: Define Post-Build Action

(57)

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

(58)

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

(59)

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

LoadRunner Unit Test

Support

(60)

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

LoadRunner IDE Addins

Run unit tests directly from IDE, emulating execution from Controller

(61)

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

Code Enhancement

(62)

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

Test Execution

Execution under DevOps Vuser

• Select test for initial replay

• Stop current test

(63)

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

LoadRunner Controller Support

Execute unit tests directly as if they were VuGen scripts

• Select System or Unit Tests

(64)

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

(65)

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

Supported Windows OS

Operating System

Supported Edition or SP

Virtual User

Generator

Controller

Load Generator

MI Listener

Analysis

Supported Tier

Windows 7 64bit

SP1

Yes

Yes

Yes

Yes

Yes

Recommended

Windows 7 32bit

SP1

Yes

Yes

Yes

Yes

Yes

Supported

Windows 8 64bit

Yes

Yes

Yes

Yes

Yes

Recommended

Windows Server 2008 R2

64Bit

SP1

Yes

Yes

Yes

Yes

Yes

Recommended

Windows XP Professional

32bit

SP3

Yes

Yes

Yes

Yes

Yes

Supported

Windows Server 2003 R2

32bit Standard/Enterprise

Editions

R2

Yes

Yes

Yes

Yes

Yes

Supported

Windows Server 2008 64bit

SP2

Yes

Yes

Yes

Yes

Yes

Supported

Windows Server 2008 32bit

SP2

Yes

Yes

Yes

Yes

Yes

Supported

(66)

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

Supported Linux OS

Operating System

Supported Edition or SP

Virtual User

Generator

Controller

Load Generator MI Listener

Analysis

Supported Tier

Red Hat Enterprise Linux

32bit

5.0, 6.0

No

No

Yes

No

No

Supported

Red Hat Enterprise Linux

64bit

5.0, 6.0

No

No

Yes

No

No

Supported

Ubuntu Server Linux 32bit

12.04 LTS

No

No

Yes

No

No

Supported

Ubuntu Server Linux 64bit

12.04 LTS

No

No

Yes

No

No

Supported

Ubuntu Server Linux 32bit

10.04 LTS

No

No

Yes

No

No

Supported

Ubuntu Server Linux 64bit

10.04 LTS

No

No

Yes

No

No

Supported

Oracle Enterprise Linux

32bit

6.0RH, 6.0 UEK

No

No

Yes

No

No

Supported

Oracle Enterprise Linux

64bit

6.0RH, 6.0 UEK

No

No

Yes

No

No

Supported

Oracle Enterprise Linux

32bit

5.0RH

No

No

Yes

No

No

Supported

Oracle Enterprise Linux

64bit

5.0RH

No

No

Yes

No

No

Supported

Amazon Linux AMI 32bit

2012.03 or latest

No

No

Yes

No

No

Supported

(67)

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

(68)

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

Question and Answer

(69)

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

References

Related documents