Sie sind auf Seite 1von 32

Shane Evans Product Manager HP LoadRunner

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

HP LoadRunner
New Features Demo Shane Evans, Product Manager June 2012
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Forward-looking statements
This is a rolling (up to three year) roadmap and is subject to change without notice.
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.

HP confidential information
This is a rolling (up to three year) roadmap and is subject to change without notice.
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 HPs prior written approval.

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

Agenda

New VuGen
Community integration Solution explorer Correlation studio Step navigator Customizable layouts Correlation engine

Demo!

TruClient updates
Async Function reuse New APIs TruClient for IE9

Demo!

Web/HTTP enhancements
Async (push/pull/long poll) JavaScript engine

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.

Brand New VuGen


Community Search the community from within VuGen

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

Brand new VuGen


Solution Explorer
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).
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Brand new VuGen


New snapshot view
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).
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Brand new VuGen


Step navigator
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

10

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

Brand new VuGen


Script editor 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.

11

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

Brand new VuGen


Debug panes
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

12

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

Brand new VuGen


Layouts
Ability to customize the appearance of the interface in VuGen. Information about windows size, position, docking, state (opened or hidden) is saved under the current layout name

13

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.

Correlations
Record (response) based correlation Record based automatic correlation
1.
2. 3. 4.

Record once! No need to replay Scan script for correlation Correlate from UI (new correlation studio)

15

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

Correlations
New correlation studio New correlation studio hosts everything in one place:
Record based correlations Replay based correlations Correlation rules Correlation from snapshot

16

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

Correlations
New correlation studio

17

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

Correlations
New correlation APIs 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()

18

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.

TruClient Firefox
Async
Auto end event

Minimum time & record think time

Global event handlers

20

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

TruClient Firefox
Function reuse and sharing

Key features
Create functions Create functions library

Call functions from every script

21

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

TruClient Firefox
New APIs
Filter URL black/white list of URLs Utils.addAutoFilter Utils.removeAutoFilter

Utils.cleanupAutoFilters
Utils.addAutoHeader Utils.removeAutoHeader Utils.cleanupAutoHeaders LR.startTransaction

Add custom HTTP headers

APIs

Manage transactions via API

23

LR.endTransaction (including status)


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.

Async
Async support patterns for web (HTTP/HTML) 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

26

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

Async
Push example

27

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.

JS engine
DOM-less JavaScript execution
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

29

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

JS engine
Using XMLHTTPRequest
Action.c
web_js_run( "Code=getQuotes(LR.getParam('symbol'));", "ResultParam=param", SOURCES, "File=XMLHTTPRequest_sync_sample.js", ENDITEM, LAST);

XMLHTTPRequest_sync_sample.js
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("");

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

} return 1*req2.responseText;
}

30

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

Download now

Get the mobile app

Download content from this session with the free mobile app. Text the word discover to 474747 or m.hp.com/events

31

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

Find out more


Attend these sessions After the event
Contact your sales rep. Visit:
www.facebook.com/HPLoadRunner www.twitter.com/HPLoadRunner

TB2777, Whats New in HP LoadRunner TB1977, TB1998, TB2157, TB2320, TB2337, TB2498

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.
32 Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Thank you

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

Das könnte Ihnen auch gefallen