QALoad Script Development Guide - Micro Focus

3y ago
51 Views
2 Downloads
1.61 MB
203 Pages
Last View : 9d ago
Last Download : 3m ago
Upload by : Angela Sonnier
Transcription

QALoadScript Development GuideRelease 05.01

iiPlease direct questions about QALoador comments on this document to:QALoad Customer SupportCompuware CorporationOne Campus MartiusDetroit, MI 48226-50991-800-538-7822Outside the USA and Canada, please contactyour local Compuware office or agent.RESTRICTED RIGHTS NOTICE. SHORT FORM (JUNE 1987)Use, reproduction, or disclosure is subject to restrictions set forth inContract No. with Compuware Corporation.Use, duplication, or disclosure by the Government is subject to therestrictions as set forth in subparagraph(c)(1)(ii) of the rights inTechnical Data and Computer Software clause at 52.227-7013.Copyright 1997-2004 by Compuware Corporation.All rights reserved. No part of this document covered by the copyright hereon may be copied or reproduced byany means—graphic, electronic, or mechanical, including photocopying, recording, taping, or in informationstorage and retrieval systems—without written permission from the publisher.NOTICE: The accompanying software product is confidential and proprietary to Compuware Corporation.No use or disclosure is permitted other than as expressly set forth by written license with Compuware Corporation.Compuware, QACenter, QALoad, QARun, QADirector, EcoTOOLS, Interval, ActiveAnalysis, and ActiveDataare trademarks or registered trademarks of Compuware Corporation.Acrobat Reader copyright 1987-1998 Adobe Systems Incorporated. All rights reserved. Adobe, Acrobat, andAcrobat Reader are trademarks of Adobe Systems Incorporated.This product contains a genuine RSA encryption engine.This product includes cryptographic software written by Eric Young and Tim Hudson.ACE , TAO Washington University and University of California, Irvine 1993-2001. All rights reserved.All other company or product names are trademarks of their respective owners.Doc. CWQLRX510April 06, 2004

iiiTable of ContentsIntroduction . viiWho Should Read This Guide? . viiProduct Enhancements . viiiRelated Publications . viiiTypographical Conventions . viiiWorld Wide Web Information . ixFrontLine Support Web Site . ixGetting Help . ixPart 1:Getting StartedChapter 1. Overview. 1-1Accessing the QALoad Script Development Workbench . 1-2The QALoad Script Development Workbench Main Window . 1-2Part 2:Developing a Test ScriptChapter 2. Before You Begin . 2-1Configuring the QALoad Script Development Workbench . 2-2Setting Recording Options . 2-5Setting Conversion Options. 2-6WWW/SSL: Preparing to Record SSL Requests . 2-7Disabling TLS Security in Internet Explorer 5.0 . 2-8Preparing SSL Certificates . 2-8Tuxedo: Setting Environment Variables . 2-12SAP: Preparing to Record a Script . 2-12Chapter 3. Recording a Test Script . 3-1Overview .Recording a Script .Recording Using Manual Application Startup .Where to Go Next.3-13-23-43-5

ivQALoad Script Development GuidePart 3:Customizing a Test ScriptChapter 4. General Advanced Scripting Techniques . 4-1Defining Transaction Loops.Defining Checkpoints.Simulating User-Entered Data.Creating a Datapool File .Modifying a Datapool File .Using a Central Datapool File in a Script .Using Local Datapool Files in a Script .Inserting Variable Data with ActiveData Substitution.4-14-24-24-24-34-34-44-6Chapter 5. Advanced Scripting Techniques for WWW. 5-1Simulating Variable IP Addresses. 5-2Modifying a Script to Use Variable IP Addresses . 5-2Creating a Datapool of IP Addresses . 5-2Handling Error Messages from the Web Server . 5-3Handling Error Messages with Response Codes . 5-3Handling Error Messages Returned in an HTML Page . 5-4Simulating CGI Requests . 5-5CGI Parameter Encoding . 5-5Get Requests. 5-6Post Requests . 5-7CGI Forms. 5-9Simulating JavaScript. 5-12Supported Objects . 5-13Supported Properties . 5-13Executing a Visual Basic Script . 5-15Executing a Java Applet . 5-15Simulating Frames. 5-18Simulating Cookies . 5-19Simulating Browser Caching. 5-22Requesting Password-Protected Directories . 5-22Using the WWW Convert Options Dialog Box . 5-24WWW Convert Options Dialog Box . 5-24WWW Advanced Convert Options Dialog Box . 5-58Traffic Filters Dialog Box . 5-105Chapter 6. Advanced Scripting Techniques for Tuxedo . 6-1Managing Tuxedo Application Data Flow .Managing Tuxedo Buffers .Passing Data Between Tuxedo Commands.Encoding String Data in Scripts .6-16-16-26-4Chapter 7. Advanced Scripting Techniques for Winsock . 7-1

vUnderstanding Data Representation in the Script . 7-1Handling Winsock Application Data Flow . 7-4Modifying QALoad’s Functions to Incorporate Dynamic Data . 7-8Saving Server Replies . 7-9Parsing Server Replies for Values. 7-11Chapter 8. Advanced Scripting Techniques for SQL Server . 8-1Variablizing SQL Server Scripts .Capturing a select Value from a Stored Procedure .Using a Retrieved Value as a Parameter to a Stored Procedure .Capturing an OUTPUT Parameter Value from a Stored Procedure Call.8-18-18-38-3Chapter 9. Advanced Scripting Techniques for SAP. 9-1Required Commands .Error Handling and Reporting .Handling Multiple Logons .Checking the SAP Status Bar .Object Life Span.9-19-29-69-79-8Chapter 10. Advanced Scripting Techniques for Citrix. 10-1Handling Dynamic Windows .Using the WaitForScreenUpdate Command .Handling Dynamic Window Titles.Handling Dynamic Windows That Require User Action.Moving the Citrix Connect and Disconnect Outside the Transaction Loop .Handling Citrix Server Farms .10-110-210-210-410-510-6Index . 1

viQALoad Script Development Guide

viiIntroductionThis guide is divided into the following parts: Part 1: Getting Started — This section provides overview and introductory material about the QALoad Script Development Workbench and the script developmentprocess. Part 2: Developing a Test Script — This section includes important informationyou may need to know before recording a script, describes the procedure for recording a test script, and explains the basic components of a QALoad test script. Part 3: Customizing a Test Script — This section details the various methods youcan use to customize a test script to account for special situations at playback, suchas variable data.Who Should Read This Guide?The QALoad Script Development Guide is intended to provide procedural information forcreating test scripts for your application. It is designed to guide you through the preparation of a test script, including recording a transaction, converting it to a reusable testscript, and modifying the code to accommodate variable information and other specialcircumstances. This guide does not contain product overview information or proceduresoutside the realm of script preparation, such as setting up a test or analyzing test results.For overview information and general test procedures, refer to your QALoad TestingUser’s Guide.If you have not yet reviewed the QALoad Testing User’s Guide, we recommend you doso before using this guide to create a test script. The QALoad Testing User’s Guide canfamiliarize you with the product and assist you in preparing for a load test.When you are comfortable with the QALoad testing process, use this QALoad ScriptDevelopment Guide to prepare your test script(s).

viiiQALoad Script Development GuideProduct EnhancementsFor a detailed listing of product enhancements made in this release, refer to the ReleaseNotes.Related PublicationsIn addition to this guide, the QALoad documentation set includes the following relatedpublications: QALoad Testing User’s Guide introduces you to the load testing process and provides procedures for running and analyzing tests. It also provides reference information for the product’s UNIX Player utilities. QALoad’s online help facilities provide field-level and overview information for theQALoad product screens. The online help also includes the QALoad Language Reference, which provides syntax definitions, parameter descriptions, and examples forall commands that are available for use in QALoad scripts. The QACenter Installation and Configuration Guide includes system requirementsand instructions for installing QACenter products. The Distributed License Management Installation Guide includes instructions forlicensing your QACenter products. Release Notes details system requirements for using QALoad, enhancements madeto the product for this release, technical information that may affect how you use theproduct, any known issues related to using the product, and customer support contact information.Typographical ConventionsThe QALoad documentation set uses the following typographical conventions:DescriptionExamplesWindow controls (buttons, menu items,etc.) are shown in bold type.Click OK.Select File New.A fixed pitch font is used for script examples and error messages.BEGIN TRANSACTION();Items in angle brackets indicate placeholders for information you supply. userid , password

IntroductionixWorld Wide Web InformationTo access Compuware Corporation’s site on the Internet World Wide Web, point yourbrowser at http://www.compuware.com. The Compuware site provides a variety ofproduct and support information.FrontLine Support Web SiteYou can access online technical support for Compuware products via our FrontLinesupport Web site. FrontLine provides you with fast access to critical information aboutyour QACenter product. You can read or download documentation, frequently-askedquestions, and product fixes, or directly e-mail Compuware with questions or comments.In order to access FrontLine, you must first register and obtain a password. To register,point your browser at http://frontline.compuware.com.Getting HelpAt Compuware, we strive to make our products and documentation the best in theindustry. Feedback from our customers helps us maintain our quality standards. If youneed support services, please obtain the following information before callingCompuware’s 24-hour product support hotline: The release (version), and build number of your QALoad product. This informationis displayed when you select the About command from the Help menu. The nameand release are also on the covers of the product documentation. Installation information, including installed options and whether it is installed in thedefault directories. Environment information, such as the operating system and release on which theproduct is installed, memory, hardware/network specifications, and the names andreleases of other applications that were running. The location of the problem in the QALoad product software, and the actions takenbefore the problem occurred. The exact product error message, if any. T

vii Introduction This guide is divided into the following parts: Part 1: Getting Started Š This section provides overview and introductory mate- rial about the QALoad Script Development Workbench and the script development process. Part 2: Developing a Test Script Š This section includes important information you may need to know before recording a script, describes the procedure for .

Related Documents:

script. Fig. 1 shows examples of the same TCC characters in all five major styles. Figure 1. Standard script, clerical script, seal script, cursive script, and semi-cursive script (From left to right) The standard script is used in daily life. The clerical script is similar to stan

Automation Engine 2. The Script Runner Tool The Automation Engine does not actually run your custom script: the task communicates with an Automation Engine Script Runner. Attention: As mentioned in Scripting Concept, the 'Run Script' task can run the script on the AE server itself (a Windows Script or batch file) or it could use a standalone Script

The Kannada language is written using the Kannada script, which evolved from the 5th-century Kadamba script. The oldest form of Kannada script begins in 3rd century B.C. The first popular and well-known Kannada script was called Kadamba script used by the Kadamba dynasty during 5th century A.D. Buhler, the famous epigraphist says that the

Amadeus (4) Shaffer, Peter Script Amen Corner, The Baldwin, James Script America Play, The Parks, Suzan-Lori Script America Play, The Parks, Suzan-Lori Bound Script American Buffalo Mamet, David Anthology Nine Plays of the Modern Theatre 400 American Buffalo (2) Mamet, David Script

Transactional Analysis (TA) and Script Theory Ego States Life Positions Script Content Script Process Script Winning Non-Winning Losing After Always Almost Open Until Ended Never . The Script and Life

Jul 11, 2021 · MUSIC CUE: "Queen" by Bohemian Rhapsody Nov 2, 2018 — Then the screenplay rewrites history. Mercury reveals to his bandmates that he has AIDS while they're rehearsing for their Live Aid performance. bohemian rhapsody script. bohemian rhapsody script, bohemian rhapsody script pdf, bohemian rhapsody script copy and paste, bohemian rhapsody script

studio re-mix and one last thing: don't worry, you can't go wrong won't let you! SoundBITE micro SoundBITE SoundBITE micro SoundBITE micro SoundBITE micro SoundBITE micro SoundBITE micro The automat

outside and inside of the caisson (as used in undrained pile design) and Nc is an appropriate bearing capacity factor for a deep strip footing in clay (typically a value of about 9 might be adopted). For undrained analysis Nq 1. Suction-assisted penetration Once the self-weight penetration phase has been completed, so that a seal is formed around the edge of the caisson, it will be possible .