LoadRunner and Performance Center v11.52 Technical Awareness Webinar Training Tony Wong 1 Copyright Copyright 2012 2012 Hewlett-Packard Development Development Company, Company, L.P. The L.P. information The information contained contained herein herein is subject is subject to change to change without without notice. notice.
LoadRunner and Performance Center v11.52 TAW Agenda Protocol Enhancement Virtual User Generator Enhancement Virtual Table Server Shunra Network Virtualization Enhancement Analysis Enhancement Development Integration Supported Platform Q&A 2
SP2 Available Now! 3
Protocol Enhancement HP Restricted.
Web Transport Protocol Subtitle or presenter name if needed HP Restricted.
Windows 8 and IE 10 Support Fully Windows 8 and IE 10 compliant Supporting both IE 10 32bit and 64bit 6
Google Chrome Browser Support Support both record and replay Various version, platform and languages 7
Correlation Scan Exclusion Exclude strings using regular expression Exclude entire section from correlation scan 8
Case Sensitivity Configuration Configure correlation scan to be case-insensitive 9
Proxy Recording Subtitle or presenter name if needed HP Restricted.
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 Supports both HTTP and HTTPS traffic 11
Step 1: Configure VuGen to Record in Proxy Mode Start record using LoadRunner Proxy Select new recording mode Configure listening port Optionally display recording toolbar for remote control 12
Step 2: Configure AUT Proxy Settings Setup AUT proxy to be VuGen machine with corresponding port Embedded Recording Bar 13
Step 3: Perform Business Process Go through business process while traffic being redirected to VuGen Stop recording Reset proxy settings on AUT 14
Proxy Recording with Mobile HTTP Proxy Recording against a mobile application: Select Proxy Recording (4 th option) in Mobile HTTP protocol Works exactly the same as Web HTTP protocol 15
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) Support AUT and VuGen on the same machine, as a backup if regular hook fails 16
Demo LoadRunner Proxy Recording HP Restricted.
LoadRunner Mobile Recorder Subtitle or presenter name if needed HP Restricted.
Overview Record mobile traffic directly from mobile device First direct recording solution on mobile device Application delivered via Google Play 19
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 Stop recording 20
Step 2: Transfer Captured file to VuGen machine Send file via email or regular file transfer method (e.g. USB/Android File Explorer) 21
Step 3: Generate Script in VuGen Machine Select Mobile HTTP protocol Double-click on the.lrcap file Select Analyze Traffic option 22
Advanced Settings 23
LoadRunner Mobile Recorder Advantages Works on any http-based applications Works on both phone and tablet devices Simple to use Disadvantages Works only on Android phones Device has to be rooted 24
Mobile Recording Usability Enhanced mobile documentation Display mobile recording guideline Press F1 when highlighting Mobile category 25
Demo LoadRunner Mobile Recorder HP Restricted.
Virtual User Generator Enhancement HP Restricted.
Replay Statistics Enhanced replay statistics Display detailed results per Iteration and Transaction Per Iteration Per Transaction 28
HP Live Network Share data between LoadRunner users Use HP Passport or dedicated credentials Open downloads directory Upload new content Supported content types Download List of available content 29 Pause/Cancel pending requests
Web Snapshot Pane UI perform faster when: Scrolling steps with active snapshot pane Changing view 30
Script Management Faster script management Script with huge Actions and Recording Logs Script creation and re-opening Script navigation Enhanced script inclusion Add new script to solution Add existing script to solution Add recent script to solution 31
Switch Layout Replay performance faster Option to disable switching to Replay layout 32
Virtual Table Server HP Restricted.
Legacy VTS Data sharing between virtual users Windows-based UI Not officially supported by R&D 34
New VTS Completely rewritten Web-based UI Backward compatibility to old API Support authentication and SSL Most code written in Javascript Linux support Unicode support 35
VTS Administration Remote access Data import and export Access management 36
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 Cell size limit 4096 No predefined limit 37
Client API APIs Initialization \ vtc_connect lrvtc_connect Termination vtc_disconnect 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 vtc_free_list N/A vtc_noop lrvtc_noop 38
Demo Virtual Table Server Administration HP Restricted.
Shunra Network Virtualization Enhancement HP Restricted.
Shunra Network Virtualization What is it? License to use an extension to HP LoadRunner and HP Performance Center enabling accurate and realistic mobile network emulation 41
Enhanced Network Emulation Configuration Assign Emulation Location by Group Each scenario group can have a unique Location (a set of network emulation parameters) Each load generator can emulate multiple Locations 42
Emulate Per Group or Per Load Generator Configure different emulation location 43
Configure Network Behavior 44
Location Assignment per Group 45
Analysis Enhancement HP Restricted.
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 Performance improvement on Analysis API Faster rich report generation 47
Location Based Analysis Support Shunra s multiple Location per load generator Emulation location filter works with both single and multi locations per load generator 48
Development Integration HP Restricted.
LoadRunner Jenkins Plug-in Subtitle or presenter name if needed HP Restricted.
Jenkins What is it? Open source continuous integration tools allowing users to create automatically executable build steps, including functional and performance test scripts 51
HP Application Automation Tools v2.0 Support for creating performance test steps with LR 11.52 Refer to https://wiki.jenkins-ci.org/display/jenkins/hp+application+automation+tools 52
Step 1: Create New Project Select free-style type 53
Step 2: Create Build Step Select Execute HP tests from file system 54
Step 3: Configure Build Step Properties Locate LoadRunner scenario file(s) and configure timeouts Support multiple scenario files per build step 55
Step 4: Define Post-Build Action Select Publish HP tests result and set report archive mode 56
Step 5: Project Execution Select Build Now option 57
Step 6: Observe Results Monitor console output for errors 58
LoadRunner Unit Test Support Subtitle or presenter name if needed HP Restricted.
LoadRunner IDE Addins Run unit tests directly from IDE, emulating execution from Controller Visual Studio 2010 Eclipse Juno version 4.2 60
Code Enhancement Enhance unit test code with LR API 61
Test Execution Execution under DevOps Vuser Select test for initial replay Stop current test Add LR API module reference to selected project 62
LoadRunner Controller Support Execute unit tests directly as if they were VuGen scripts Select System or Unit Tests Support NUnit, JUnit, Selenium tests 63
Supported Platform HP Restricted.
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 Windows Server 2003 R2 32bit Standard/Enterprise Editions SP3 Yes Yes Yes Yes Yes Supported 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 Windows 2012 not supported but planned 65
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 66 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 Oracle Enterprise Linux 64bit Oracle Enterprise Linux 32bit Oracle Enterprise Linux 64bit 6.0RH, 6.0 UEK No No Yes No No Supported 6.0RH, 6.0 UEK No No Yes No No Supported 5.0RH No No Yes No No Supported 5.0RH No No Yes No No Supported Amazon Linux AMI 32bit 2012.03 or latest No No Yes No No Supported Amazon Linux AMI 64bit 2012.03 or latest No No Yes No No Supported
New Protocol Support on Linux 67
Question and Answer Subtitle or presenter name if needed HP Restricted.
Thank you HP Restricted.