How To Design And Execute Loadrunner Scenarios For Sap -Books Pdf

How To Design and Execute LoadRunner Scenarios for SAP
17 Feb 2020 | 18 views | 0 downloads | 72 Pages | 2.02 MB

Share Pdf : How To Design And Execute Loadrunner Scenarios For Sap

Download and Preview : How To Design And Execute Loadrunner Scenarios For Sap


Report CopyRight/DMCA Form For : How To Design And Execute Loadrunner Scenarios For Sap



Transcription

Copyright 2009 SAP AG All rights reserved These materials are subject to change without notice. No part of this publication may be reproduced or These materials are provided by SAP AG and its affiliated. transmitted in any form or for any purpose without the companies SAP Group for informational purposes only. express permission of SAP AG The information contained without representation or warranty of any kind and SAP. herein may be changed without prior notice Group shall not be liable for errors or omissions with. respect to the materials The only warranties for SAP. Some software products marketed by SAP AG and its, Group products and services are those that are set forth in. distributors contain proprietary software components of. the express warranty statements accompanying such,other software vendors. products and services if any Nothing herein should be. Microsoft Windows Outlook and PowerPoint are construed as constituting an additional warranty. registered trademarks of Microsoft Corporation, These materials are provided as is without a warranty of. IBM DB2 DB2 Universal Database OS 2 Parallel any kind either express or implied including but not. Sysplex MVS ESA AIX S 390 AS 400 OS 390 limited to the implied warranties of merchantability. OS 400 iSeries pSeries xSeries zSeries z OS AFP fitness for a particular purpose or non infringement. Intelligent Miner WebSphere Netfinity Tivoli Informix. SAP shall not be liable for damages of any kind including. i5 OS POWER POWER5 OpenPower and PowerPC are, without limitation direct special indirect or consequential. trademarks or registered trademarks of IBM Corporation. damages that may result from the use of these materials. Adobe the Adobe logo Acrobat PostScript and Reader. SAP does not warrant the accuracy or completeness of the. are either trademarks or registered trademarks of Adobe. information text graphics links or other items contained. Systems Incorporated in the United States and or other. within these materials SAP has no control over the. information that you may access through the use of hot. Oracle is a registered trademark of Oracle Corporation links contained in these materials and does not endorse. UNIX X Open OSF 1 and Motif are registered your use of third party web pages nor provide any warranty. trademarks of the Open Group whatsoever relating to third party web pages. Citrix ICA Program Neighborhood MetaFrame SAP NetWeaver How to Guides are intended to simplify. WinFrame VideoFrame and MultiWin are trademarks or the product implementation While specific product. registered trademarks of Citrix Systems Inc features and procedures typically are explained in a. practical business context it is not implied that those. HTML XML XHTML and W3C are trademarks or, features and procedures are the only approach in solving a.
registered trademarks of W3C World Wide Web, specific business problem using SAP NetWeaver Should. Consortium Massachusetts Institute of Technology, you wish to receive additional information clarification or. Java is a registered trademark of Sun Microsystems Inc support please refer to SAP Consulting. JavaScript is a registered trademark of Sun Microsystems Any software coding and or code lines strings Code. Inc used under license for technology invented and included in this documentation are only examples and are. implemented by Netscape not intended to be used in a productive system. MaxDB is a trademark of MySQL AB Sweden environment The Code is only intended better explain and. visualize the syntax and phrasing rules of certain coding. SAP R 3 mySAP mySAP com xApps xApp SAP, SAP does not warrant the correctness and completeness of. NetWeaver and other SAP products and services, the Code given herein and SAP shall not be liable for. mentioned herein as well as their respective logos are. errors or damages caused by the usage of the Code except. trademarks or registered trademarks of SAP AG in, if such damages were caused by SAP intentionally or.
Germany and in several other countries all over the world. grossly negligent, All other product and service names mentioned are the. trademarks of their respective companies Data contained Disclaimer. in this document serves informational purposes only Some components of this product are based on Java Any. National product specifications may vary code change in these components may cause unpredictable. and severe malfunctions and is therefore expressively. prohibited as is any decompilation of these components. Any Java Source Code delivered with this product is only. to be used by SAP s Support Services and may not be. modified or altered in any way,Document History,Document Version Description. 0 99c Unofficial review release of this guide,Typographic Conventions Icons. Type Style Description Icon Description,Example Text Words or characters quoted Caution. from the screen These,Note or Important,include field names screen.
titles pushbuttons labels Example,menu names menu paths. Recommendation or Tip,and menu options,Cross references to other. documentation,Example text Emphasized words or,phrases in body text graphic. titles and table titles,Example text File and directory names and. their paths messages,names of variables and,parameters source text and.
names of installation,upgrade and database tools,Example text User entry texts These are. words or characters that you,enter in the system exactly as. they appear in the,documentation,Example Variable user entry Angle. text brackets indicate that you,replace these words and. characters with appropriate,entries to make entries in the.
EXAMPLE TEXT Keys on the keyboard for,example F2 or ENTER. Table of Contents,1 Business Scenario 1,2 Background Information 1. 3 Prerequisites 1,4 Information Gathering 2,4 1 Required Skill Sets 2. 4 2 Scenario Planning 2,4 2 1 What is a Scenario 3. 4 2 2 Overview of Scenario Planning 3,4 3 Script Planning 4.
4 3 1 SAP BusinessObjects Planning and Consolidation Architecture Review 4. 4 3 2 Overview of Script Planning 5,4 3 3 Comparison of LoadRunner Protocol Types 5. 5 Script Design 7,5 1 Microsoft Excel version Considerations 7. 5 2 Options for Recording LoadRunner Scripts for BPC 8. 5 3 Recording a HP LoadRunner Script for BPC with VuGen 8. 5 3 1 HP LoadRunner Recording Settings 9, 5 3 2 Recording a LoadRunner Script using VuGEN 14. 5 4 Recording a HP LoadRunner Script for BPC with Fiddler 16. 5 4 1 How to transfer a Fiddler request into a VuGen Web HTTP HTML or SAP. Web script 19, 5 4 2 How to transfer a Fiddler request into a VuGen Web Services script 25. 5 5 Additional requirements for LoadRunner VuGen scripts 30. 5 5 1 BPC User Authentication in VuGen 30,5 5 2 HTTP Timeout Configuration 30.
5 6 Parameterization 31,5 6 1 EvDRE Parameterization Example 31. 5 7 Transaction Verification 36, 5 7 1 Example EvDRE Report Verification code for the Web HTML HTTP and. SAP WEB protocol 36, 5 7 2 Example EvDRE Report Verification code for the Web Services protocol 37. 5 8 Notes for LoadRunner Support in Planning and Consolidations 7 0 for SAP. NetWeaver 37, 5 9 Notes for LoadRunner Support in Planning and Consolidations 7 for Microsoft 38. 5 10 Notes for LoadRunner Support in Planning and Consolidations 5 1 for Microsoft 38. 5 11 Unit Testing Scripts with VuGen 38,6 Scenario Design Execution and Analysis 40.
6 1 Scenario Design Considerations 40,6 2 Designing the Scenario Schedule 40. 6 3 Configuring Systems Monitoring 45,6 4 Executing and Monitoring Test Scenario 48. 6 4 1 Starting a scenario 48,6 4 2 Monitoring a scenario 48. 6 4 3 Monitoring Data Volumes 49,6 5 Analyzing Results 49. 6 5 1 Load Runner Analysis Overview 50,6 5 2 Graphs 51.
6 5 3 Interpreting Analysis Results 56,6 6 Working through Performance Issues 58. 6 6 1 Hardware Bottleneck 59,6 6 2 Systems Tuning 59. 6 6 3 Application Design 59,7 Appendix 60,7 1 Appendix A Scenario Planning Template 61. 7 2 Appendix B Script Planning Template 63, 7 3 Appendix C Scenario Script Schedule Planning Template 65. How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. 1 Business Scenario, In the course of promoting a new solution to production many clients verify their landscapes using HP.
Load Runner for stress testing volume testing and or performance testing. SAP recommends performing stress volume testing as a best practice within a normal solution. implementation project This can be essential for establishing a comfort level around expected. performance and to validate that sizing estimates are accurate Unfortunately it can be difficult to. design real life scenarios, This guide will provide the information necessary to design HP LoadRunner scripts and scenarios that. represent actual user scenarios,2 Background Information. This How To provides guidance and suggestions for using HP LoadRunner with SAP BusinessObjects. Planning and Consolidation It also provides advice on what questions to ask your user community. and functional experts to ensure you have the necessary details to create representative scripts and. 3 Prerequisites, HP Load Runner licensed for one of the following protocols. Web HTTP HTML,Web Services, Not all requests are compatible with the Web Services protocol Refer to section 5 3 2 1. for more information, SAP BusinessObjects Planning and Consolidation version for SAP NetWeaver.
SAP BusinessObjects Planning and Consolidation version for SAP Microsoft. Experience with HP LoadRunner,July 2009 1, How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. 4 Information Gathering, The initial step in preparing for stress volume testing of BPC is gathering information on the. scenario s you will test which scripts will be included and finally what the goal or success criteria will. This section provides an overview of what types of information to gather before you start developing. scripts and scenarios,4 1 Required Skill Sets, Load and performance testing projects require collaboration between individuals with a wide range of. skill sets You will find a list outlining these skill sets and their expected contributions to the project. Application Consultant s,o Assists in identifying possible pain points. o Assists in resolving business process and logic related performance problems. Load Runner Consultant s, o Documents Creates and Executes Load Runner Scripts and Scenarios to be.
o Analyzes results and engage the appropriate teams for issue remediation. Business Process Expert s, o Creates and reviews business processes to be tested. o Provides input on parameterization in scripts,o Provides details on Scenario design. o Works with Application Consultants to document test and approve business process. or logic changes,o Provides details on SLA s,BPC Technical Resources. o Performs any necessary hardware upgrades or system tuning based on test results. BPC Implementation Project Management, o Ensures the appropriate resources get involved at the various stages of the Load. Testing engagement,Customer Implementation Lead, o Approves testing methodology design SLA s and any changes resulting from the.
o Ensures the appropriate resources get involved at the various stages of the Load. Testing engagement,4 2 Scenario Planning,July 2009 2. How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. 4 2 1 What is a Scenario, The term Scenario refers to a hypothetical situation you create to mimic a business process or a set. of business processes This scenario will be replayed against a Business Planning and Consolidation. landscape to gain additional understanding of its impacts. A scenario includes a series of LoadRunner scripts Each script contains a series of operations. relevant to the business process that you are testing. The next section will review LoadRunner scripts in more detail. The scenario also includes the details of how the scripts should be executed for example. How many virtual users Vusers are assigned to each script. How should user behavior be emulated for each script in the scenario i e. When do they login,How quickly do they login,How long do they execute transactions. When do they logout,How quickly do they logout, Lastly you are given the option to add systems to monitor during the execution of the scenario This. is very important as it allows you to determine resource bottlenecks and correlate other metrics such. as response times to physical system resources, HP LoadRunner scenarios are maintained with the HP LoadRunner Controller software.
4 2 2 Overview of Scenario Planning, Creating the scenario in the HP LoadRunner Controller software is actually one of the last steps of the. process but it is the first thing that needs to be planned. When designing a scenario the first question is What goals do we hope to achieve through testing. This is a key question because without defining it it will be very difficult to gauge the success of your. testing Some potential answers to that question include. Performance testing of a particular business cycle such as a quarter close. Stress testing to validate hardware sizing with respect to the business processes that will be. Performance testing of logic or landscape design where you design a baseline test make a. modification to logic files or your system landscape and re test the original scenario to verify. the impact of your changes, Next you should outline which user interactions or scripts need to developed to adequately represent. the business process es that you are testing This can be fairly high level at this point but should. include details such as the script owner as well as a descriptive name. The script owner referenced above refers to a SAP BusinessObjects Planning and. Consolidation user that is an expert on the business processes being represented within. the script The script owner need not have HP LoadRunner skills but will provide more. specific information on what the script should include The next step would be for. July 2009 3, How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. someone with HP LoadRunner know how to take these specifications and create a script. to represent them, Lastly you should determine what servers in your landscape will be active in your scenario so that. they can be monitored during scenario execution, Appendix A includes a template that will assist you in creating a high level plan for your.
Scenario s,4 3 Script Planning, 4 3 1 SAP BusinessObjects Planning and Consolidation. Architecture Review, HP LoadRunner records scripts for SAP BusinessObjects Planning and Consolidation at the. application layer More specifically the HTTP requests from the client tier to the NET tier are. recorded This section was added to help explain what you are actually capturing with the HP. LoadRunner tool, BPC communicates between the Client and NET server tiers by sending SOAP requests over. HTTP HTTPS Most operations like submitting an input schedule or retrieving a report consist of a. single web service request and response, The SOAP request outlines the information you are requesting from the server The response details. the results or status of your request Since different users will request or submit distinct information for. most reports and input schedules we must vary some requests to reflect this variation This is done. through parameterization, The responses will vary depending on the type of call being made For example SOAP responses for.
report requests will generally contain the values returned for your query while SOAP responses to an. input schedule will detail how many records were accepted rejected etc Using the information in the. SOAP responses we can write functions to validate that the requests were successful This type of. validation should be included in order to create reliable scripts. LoadRunner does not launch Excel or any other SAP BusinessObjects Planning and. Consolidation client during the execution of a script or scenario Instead it replays the. communications i e SOAP requests which the client submits to the NET tier This. accurately reproduces system load as well as server request response times. July 2009 4, How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. 4 3 2 Overview of Script Planning, HP LoadRunner scripts are created with a program called HP LoadRunner Virtual User Generator. This guide will refer to this program as VuGen for the rest of this document. These scripts use an underlying protocol to capture what a script does and later uses the same. protocol to replay the script The protocols that can be used with BPC are the SAP Web Web. HTTP HTML and Web Services protocols, Ensure that your LoadRunner Controller license includes one of these three protocols. Before creating the scripts it is important to plan what their purpose will be and what operations they. include An operation in this case refers to a unit of work An example of an operation could be. submitting an input schedule or running a report Each operation should be encapsulated in a. LoadRunner transaction or sub transaction after a script is recorded This will allow LoadRunner to. effectively report the time each operations takes, Another consideration when planning scripts is parameterization It may be helpful to further expand. upon this topic, During a business process multiple users perform similar operations like submitting data during a.
planning process In order for multiple users to submit data successfully they must submit data for. different dimension members Each user may enter data for a different entity or account or. combination of the two, The detailed data that is specific for each user entities and accounts from the example above must. be represented in the script through parameterization Parameterization allows you to configure. values that will change for each iteration or user in a script which allows you to more accurately reflect. actual user interaction with BPC Parameterization is configured for each SOAP call where. appropriate, Another key aspect that must be considered is verification Each request that is sent to the NET. application server is a SOAP message, Once your scenario and scripts have been planned you can start recording and refining your scripts. Appendix B includes a template that will assist you in creating a high level plan for your. 4 3 3 Comparison of LoadRunner Protocol Types, Three LoadRunner protocols have been tested with SAP BusinessObjects Planning and. Consolidations Two of them the Web HTTP HTML and SAP Web are effectively the same the. only difference being the license type The third Web Services works in a slightly different way than. the others, With all three protocols the actual SOAP messages produce the same effects on the backend.
systems however the Web HTTP HTML and SAP Web protocols are recommended for the. following reasons, a The Web HTTP HTML and SAP Web protocols include a richer set of API s for. parsing responses the web functions which is useful when adding custom verification. July 2009 5, How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. b The Web Service protocol only works with actual Web Service calls but the BPC client. also makes straight Web calls for some operations Some examples of this are during. login or when viewing Audit reports Because of this it is impossible to write a full. coverage LoadRunner script only using the Web Services protocol. c Again because of these reasons the Web HTTP HTML and SAP Web protocols are. recommended if either of those LoadRunner protocol licenses are available. July 2009 6, How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. 5 Script Design, When you have reached the point where you have completed the design phase you are ready to. begin recording LR scripts There are two primary methods for recording scripts. The first is LoadRunner VuGen This tool is supplied as part of the LoadRunner suite of products It. will work for recording reports and input schedules but will not work with some Admin tasks or Data. Manager Packages The reason some actions can t be recorded with VuGen is related to the way that. BPC executes those operations For example Data Manager Packages are executed by spawning a. child process OSoftDMClientExecute exe and VuGen does not recognize that it should record the. actions of the child process Refer to the section on recording BPC scripts with Fiddler for details on. capturing these operations, Some customers have reported issues getting LoadRunner to properly record BPC.
scripts The issues have generally presented themselves during login or after login. whereas the action pane has failed to load, An example root cause for this is an incompatibility with the McAfee Host Intrusion. Prevention, If you encounter these issues and are unable to determine the root cause try recording. scripts on a machine that has as few restrictions as possible If that does not help or is. not possible you can still record scripts using a tool such as Fiddler. Limited LoadRunner Support for BPC 5 1 was recently added in a support package and. requires a parameter change in the Application Sets database For more information. review SAP Note 1300873 for current Support Pack requirements and configuration. details https service sap com sap support notes 1300873. The second recording method involves using a third party tool called Fiddler This tool is not part of. the LoadRunner suite of tools Instead it is a generic HTTP proxy application that allows you to. capture the requests and responses of any HTTP traffic Because of this it is a much less tightly. coupled solution and does not suffer from the same issues as VuGen This added flexibility comes. with the cost of more manual steps as you have to manually transpose the requests from Fiddler into. VuGen scripts, The How To Guide entitled How To Use the SAP BusinessObjects Planning and. Consolidation Toolkit for LoadRunner contains a utility that performs all of the manual. steps required to transform a Fiddler log into a LoadRunner script The utility is the. recommended recording method for creating LoadRunner scripts for SAP. BusinessObjects Planning and Consolidation,5 1 Microsoft Excel version Considerations. BusinessObjects Planning and Consolidations support multiple versions of Excel though Excel 2003. and Excel 2007 are most common, Excel 2003 works well with LoadRunner VuGen versions 8 x and higher.
Excel 2007 does not work with all versions of LoadRunner VuGen The most common issues are. Excel 2007 crashes when the recording begins, VuGen does not capture any actions during the recording. July 2009 7, How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. a If you are using Excel 2007 you have a few options to work around this limitation. Upgrade to the latest LoadRunner release,Use Fiddler for the recording process. Use Excel 2003 to record the scripts if available, Using Excel 2003 is a valid option because LoadRunner records and replays actions at. the network layer At this layer both Excel 2007 and Excel 2003 perform the same. operations,5 2 Options for Recording LoadRunner Scripts for.
There are three options for recording LoadRunner scripts. HP LoadRunner VuGen, o This option will work under certain conditions but has many incompatibilities. Because of this the recommended option is using the BPC Toolkit for LoadRunner. o This is described in detail in section 5 3, Fiddler recordings converted to LoadRunner syntax with the BPC Toolkit for LoadRunner. o This option is the recommended option With it you use a 3 party tool called Fiddler. to record the actual BPC communications between the client and NET tier The BPC. Toolkit for LoadRunner converts the text files created by Fiddler into LoadRunner. o This is described in detail in the guide How To Use the SAP BusinessObjects. Planning and Consolidation Toolkit for LoadRunner, Fiddler recordings converted to LoadRunner syntax manually. o This option is no longer a recommended option due to the creation of the BPC Toolkit. for LoadRunner but has remained in this guide to provide additional details on the. process and can be helpful for debugging,o This is described in detail in section 5 4. 5 3 Recording a HP LoadRunner Script for BPC with, This section describes the process of recording a script for BPC using VuGen.
Limited LoadRunner support for BPC 5 1 was recently added via support package For. more information review SAP Note 1300873 for current Support Pack requirements and. configuration details https service sap com sap support notes 1300873. July 2009 8, How To Plan and Design LoadRunner Scenarios for SAP BusinessObjects Planning and Consolidation. BPC 7 0 for SAP NetWeaver does not officially support LoadRunner although it is. possible to record and playback scripts with limitations Official support for LoadRunner. for the BPC for NetWeaver product line is targeted for the 7 5 release. 5 3 1 HP LoadRunner Recording Settings, This section will outline the recording settings required for VuGen. This section displays settings that are known to work Other settings options can be. changed but may affect the ability to record BPC scripts. 1 Launch HP LoadRunner Virtual User Generator,2 Open a new script File New. 3 Select either Web HTTP HTML or SAP Web as the Protocol and click OK. 5 The Application Type can be either Internet Applications or Win32 Applications although. you must specify either Excel exe or the BPC Admin Client OSoftAdminMain exe as the.


Related Books

Intentionally Blank - Government of Jersey

Intentionally Blank Government of Jersey

Government of Jersey Goods Vehicle Inspection Manual Initial Issue Section 1 Page 1 of 183 Date: May 2018 Intentionally Blank

A Workbook for Creating a Personal Rule of Life

A Workbook for Creating a Personal Rule of Life

but rather a means to an end: namely, to live our lives for God with purpose and intention. Two prayer exercises you might find helpful in beginning to design a rule of life: In prayer, imagine yourself in a conversation with Jesus in which you describe to him what it is you value most and how you want to live faithfully in the world.

Guide for Developing an EMS Agency Safety Program

Guide for Developing an EMS Agency Safety Program

EMS Agency Safety Program A roadmap for EMS agencies to develop and implement a comprehensive workplace safety program, customizable to their agency type, size and needs. National EMS SAFETY COUNCIL. 2 Introduction to the EMS Safety Program Guide In 2013, the National EMS Culture of Safety Strategy was published. Funded by the National Highway Traffic Safety Administration (NHTSA), the ...

P8H61-I LX R2

P8H61 I LX R2

vii Conventions used in this guide To ensure that you perform certain tasks properly, take note of the following symbols used throughout this manual.

Santa Ana Region - California

Santa Ana Region California

California Regional Water Quality Control Board Santa Ana Region Linda S. Adams Acting Secretary for Environmental Protection SENT VIA E-FILE March 9, 2011

NASTRAN THERMAL ANALYZER - THEORY AND APPLICATION ...

NASTRAN THERMAL ANALYZER THEORY AND APPLICATION

With both beginners and experienced thermal analysts in mind, the NASTRAN Thermal Analyzer Manual has been carefully designed to ensure a useful, comprehensive, and self-contained document that encompasses the underlying theories, instructions of modeling construction, descriptions of various data formats, and examples of engineering modeling.

The role of microRNA in regulation of lineage-specific ...

The role of microRNA in regulation of lineage specific

The role of microRNA in regulation of lineage-specific gene expression through the cell cycle by Bryony Jane Graham A thesis submitted to Imperial College London for the degree of Doctor of Philosophy MRC Clinical Sciences Centre Imperial College School of Medicine May 2012 . 2 I, Bryony Jane Graham, declare that the work presented in this thesis is my own, and that any work carried out by ...

Santapan Harian Juni 2016 - imansejati.net

Santapan Harian Juni 2016 imansejati net

3 D a f t a r I s i - Santapan harian 2016 1 Risiko Ketidaktaatan Ulangan 28 15 -46 2 Allah akan Memusnahkan Umat-Nya Ulangan 28 47 -68

e-Santapan Harian 2010 - download.sabda.org

e Santapan Harian 2010 download sabda org

Publikasi e-Santapan Harian (e-SH) Bahan renungan yang diterbitkan secara teratur setiap hari oleh Scripture Union Indonesia (SU Indonesia) d/h.

Santa Ana Regional Water Quality Control Board

Santa Ana Regional Water Quality Control Board

Santa Ana Regional Water Quality Control Board October 31, 2016 VIA EMAIL AND U.S. MAIL - ENCLOSURE SENT VIA EMAIL ONLY Scott Maloni, Vice President