32
© Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Shane Evans Product Manager – HP LoadRunner

whats new in LR 11.5

  • Upload
    book

  • View
    70

  • Download
    0

Embed Size (px)

DESCRIPTION

whats new in LR 11.5

Citation preview

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

Shane Evans

Product Manager – HP LoadRunner

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

New Features Demo

HP LoadRunner

Shane Evans, Product Manager

June 2012

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

This is a rolling (up to three year) roadmap and is subject to change without notice.

Forward-looking statements

This document contains forward looking statements regarding future operations, product development, product capabilities and availability dates. This information is subject to substantial uncertainties and is subject to change at any time without prior notification. Statements contained in this document concerning these matters only reflect Hewlett Packard's predictions and/or expectations as of the date of this document and actual results and future plans of Hewlett-Packard may differ significantly as a result of, among other things, changes in product strategy resulting from technological, internal corporate, market and other changes. This is not a commitment to deliver any material, code or functionality and should not be relied upon in making purchasing decisions.

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

This is a rolling (up to three year) roadmap and is subject to change without notice.

HP confidential information

This roadmap contains HP confidential information.

If you have a valid confidential disclosure agreement with HP, disclosure of the roadmap is subject to that CDA. If not, it is subject to the following terms: for a period of 3 years after the date of disclosure, you may use the roadmap solely for the purpose of evaluating purchase decisions from HP and use a reasonable standard of care to prevent disclosures. You will not disclose the contents of the roadmap to any third party unless it becomes publically known, rightfully received by you from a third party without duty of confidentiality, or disclosed with HP’s prior written approval.

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

Agenda

TruClient updates Demo!

•Community integration

•Solution explorer

•Correlation studio

•Step navigator

•Customizable layouts

•Correlation engine

•Async

•Function reuse

•New APIs

•TruClient for IE9

•Async (push/pull/long poll)

•JavaScript engine

New VuGen Web/HTTP enhancements

Demo! Demo!

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

Virtual User Generator 11.5

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

Community

Brand New VuGen

Search the community from within VuGen

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

Brand new VuGen

The Solution Explorer enables easy access and manipulation of other script assets such as parameters, runtime settings, and replay runs.

Key features

• Solution bundles a group of scripts.

• All the assets of the script are displayed within the script node in the tree.

• Right-click opens a context menu of all the operations available for an asset.

• Double-click “activates” an asset (e.g. opens an action in the editor).

Solution Explorer

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

Brand new VuGen

The snapshot view enables the user to view the snapshots captured during recording or replay of the script.

Key features

• Common look and feel of all the snapshots within the Snapshot View.

• Split view synchronization.

• Brand new snapshot content displayed for most step types (i.e. Xml Viewer, Buffer Viewer, Image Viewer, revised HTTP Viewer, etc…).

New snapshot view

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

Brand new VuGen

A pane that enables quick navigation between steps in the script as well as filtering and searching according to their properties.

Key features

• Search per script or action

• Step context menu

• Thumbnail view

• Sync with other panes

Step navigator

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

Brand new VuGen

Major enhancements:

• Code completion list

• Syntax highlight for the C code

• Highlighting of the Step parameters

• Collapsing of user-defined functions

• Tooltips display information for user-defined functions, parameters, etc.

Script editor

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

Brand new VuGen

• Breakpoint pane - displays the list of breakpoints in all opened actions

• Callback - contains the list of stack frames according to the current debugger source position

• Watch - manages user defined watch expressions

Debug panes

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

• Ability to customize the appearance of the interface in VuGen.

• Information about window’s size, position, docking, state (opened or hidden) is saved under the current layout name

Layouts

Brand new VuGen

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

New correlation engine

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

Correlations

Record based automatic correlation

1. Record once!

2. No need to replay

3. Scan script for correlation

4. Correlate from UI (new correlation studio)

Record (response) based correlation

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

Correlations

New correlation studio hosts everything in one place:

• Record based correlations

• Replay based correlations

• Correlation rules

• Correlation from snapshot

New correlation studio

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

New correlation studio

Correlations

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

Correlations

LoadRunner 11.50

• web_reg_save_param_ex()

• Enhanced web_reg_save_param()

• Smart scoping for formatted data (DFE)

• web_reg_save_param_XPath()

• Correlate by XPath

• web_reg_save_param_regexp()

• Correlate by regular expression (Perl syntax standards)

LoadRunner 11.0

web_reg_save_param()

New correlation API’s

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

TruClient Firefox New features

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

TruClient Firefox Async

• Auto end event

• Minimum time & record think time

• Global event handlers

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

TruClient Firefox

Function reuse and sharing

Key features

• Create functions

• Create functions library

• Call functions from every script

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

TruClient Firefox

Filter URL – black/white list of URLs

• Utils.addAutoFilter

• Utils.removeAutoFilter

• Utils.cleanupAutoFilters

Add custom HTTP headers

• Utils.addAutoHeader

• Utils.removeAutoHeader

• Utils.cleanupAutoHeaders

Manage transactions via API

• LR.startTransaction

• LR.endTransaction (including status)

APIs

New APIs

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

TruClient Internet Explorer 9

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

Web/HTTP asynchronous calls

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

Async

• Push: Client gets information from the server as

soon as the server updates. Client maintains a connection to the server.

• Polling: Client “polls” the server for an update at

specific intervals. The server replies whether or not there is an update.

• Long polling: Client “polls” the server for an update. The

server holds the response to the request until it has an update

Async support patterns for web (HTTP/HTML)

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

Push example

Async

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

Web/HTTP Javascript engine

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

JS engine

JS Engine enables running of JavaScript code during the execution of a web (HTTP/HTML) Vuser.

• Enables running XMLHTTPRequest - from JavaScript code

• Can also use for various code tasks such as string manipulation

DOM-less JavaScript execution

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

XMLHTTPRequest_sync_sample.js

… web_js_run( "Code=getQuotes(LR.getParam('symbol'));", "ResultParam=param", SOURCES, "File=XMLHTTPRequest_sync_sample.js", ENDITEM, LAST); …

var req2; function getQuotes(mySymbol) { var myURL= "http://download.finance.yahoo.com/d/...csv"; req2 = false; // branch for native XMLHttpRequest object try { req2 = new XMLHttpRequest(); } catch(e) { req2 = false; } if(req2) { req2.open("GET", myURL, false); req2.send(""); } return 1*req2.responseText; }

Action.c

Through XHR object VUser inquires Yahoo! about latest stock rates for the companies saved in “symbol” parameter.

JS engine Using XMLHTTPRequest

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

Download now

Download content from this session with the free mobile app.

Text the word “discover” to 474747 or m.hp.com/events

Get the mobile app

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

After the event

Find out more

Attend these sessions

• TB2777, What’s New in HP LoadRunner

• TB1977, TB1998, TB2157, TB2320, TB2337, TB2498

• Contact your sales rep.

• Visit:

www.facebook.com/HPLoadRunner

www.twitter.com/HPLoadRunner

• Download the whitepaper at:

www.hp.com/go/loadrunner

Your feedback is important to us. Please take a few minutes to complete the session survey.

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

Thank you