© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 3
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
Web Transport Protocol
© 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
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 9
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
Proxy Recording
© 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
© 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
© 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
© 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
© 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:
© 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)
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
Demo
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
LoadRunner Mobile Recorder
© 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
© 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
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 23
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
Demo
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
© 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
© 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
© 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:
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 32
Switch Layout
Replay performance faster
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 36
VTS Administration
Remote access
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
Demo
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
© 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
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 44
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 45
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
LoadRunner Jenkins Plug-in
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 53
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 54
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 57
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 58
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
LoadRunner Unit Test
Support
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 61
Code Enhancement
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
© 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
© 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
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 67
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.
Question and Answer
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted.