Building Scripts For HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> www.softwaretestinggenius.com <<<<<<<<<<<<<<<<<<<<<<

Slides:



Advertisements
Similar presentations
Performance Testing - Kanwalpreet Singh.
Advertisements

Hello, my name is Abacus Owl! Ill be popping in throughout the presentation today to see how things are going. Welcome! Please have a seat and login to.
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
MY NCBI (module 4.5).
GALVESTON COUNTY, TX P-CARD TRAINING GALVESTON COUNTY.
Performance Check. What Is A Performance Check? A Performance Check recognizes the variance in web page download times and gives a representation of the.
Understanding Correlation In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Welcome to Load Runner Training Program
Library Online Catalog Tutorial Pentagon Library Last Updated March 2008.
Load Runner Mercury Performance Test Tool. Topics to be Covered Why Performance ? Why Performance ? Definitions: Performance Testing Definitions: Performance.
1 GetThere User Training Booking & Managing Online Travel.
Page Tuning. What Is Page Tuning? The page tuning process allows you to examine download times of each element on a page at a timing resolution of milliseconds.
Understanding Analysis Reports In HP LoadRunner
Load Testing Using NeoLoad
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
Citrix Metaframe Solution Software Installation
Understanding of Load Testing Tools Especially HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
1 © ALP International CorporationMarch 2001 MD-CFUG Automating your Website Testing By Andrew L. Pollner and Lei Wang ALP International Corporation.
LoadTest. What is a LoadTest? By running multiple copies of the eValid browser simultaneously, eValid can impose heavy work loads on a WebServer. You.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Getting started on informaworld™ How do I register my institution with informaworld™? How is my institution’s online access activated? What do I do if.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Web Page Design I Retest Terms Review. 1. Web pages are created using a language known as ___________. The coding of this language must follow specific.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Copyright 2000 eMation SECURITY - Controlling Data Access with
Creating a Web Site to Gather Data and Conduct Research.
Installing and Using Active Directory Written by Marc Zacharko.
COMP3121 E-Commerce Technologies Richard Henson University of Worcester November 2011.
Chapter 13 Users, Groups Profiles and Policies. Learning Objectives Understand Windows XP Professional user accounts Understand the different types of.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
1 OPOL Training (OrderPro Online) Prepared by Christina Van Metre Independent Educational Consultant CTO, Business Development Team © Training Version.
Understanding Perfmon The Performance Testing Tool >>>>>>>>>>>>>>>>>>>>>>
Playing Back Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Enhancing - Vuser Scripts In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.
How to Run a Scenario In HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Matthew Ellis rd January 2006 CM610 Assignment Bsc(Hons) Computing Studies.
Microsoft Access 2010 Chapter 10 Administering a Database System.
ARMS Advanced Risk Management System User Documentation.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
When you run a scenario, the Vusers on each host machine use the host’s IP address. You can define multiple IP addresses on a host machine to emulate a.
Transitioning from Groupwise to Exchange. Web Login 1.Open a web browser and type in mail.brcsd.org or follow the link from the website. 2.Select the.
1 Copyright © 2011 Tata Consultancy Services Limited PERFORMANCE TESTING.
Timer Alarm. What Is The Timer Alarm? The Timer Alarm provides a method for triggering time- based alarms during script playback.
EValid LoadTest, eV.manger and Validation. Agenda Load Test capability of eValid How to execute load test by using eValid Introduction to eV.manager Validation.
Complete Ordering System for Promotional Literature and Samples Quick Reference and Training Guide.
LOAD RUNNER. Product Training Load Runner 3 Examples of LoadRunner Performance Monitors Internet/Intranet Database server App servers Web servers Clients.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
IV&VS Capabilities. 2 V IRTUAL USER GENERATOR 3 V IRTUAL U SER T ECHNOLOGY AND ADVANTAGES  Simulates a real user  Requires less resources – machines.
Load Test Scenario Presentation Outline Introduction to Load Test Load Test capability of eValid Steps to create the Load Test Scripts.
IV&VS Capabilities. 2 L OADRUNNER C ONTROLLER – S CENARIO DESIGN.
Performance Testing - LR. 6/18/20162 Contents Why Load Test Your Web Application ? Functional vs. Load Web Testing Web-Based, Multi-Tiered Architecture.
MetaViewer Interface and Navigation start now. What is MetaViewer? Log On/Off to the system Main Window and Panes Master Index and Folder Pane Account.
Receipt User Guide 1. INDEX Sl. No ProcessSlide no. 1Login procedure4-7 2Gate Inward Entry Process9-19 3Notification Summary for Bonding20 4Receipt23-35.
XP Creating Web Pages with Microsoft Office
SCRIPT RECORDING [webc mode].
NETSTORM.
Running a Forms Developer Application
In this session, you will learn to:
NetApp Online Ordering User Tutorial
SUBMITTING A PAYMENT REQUEST FORM
CCA Skill Certification
IBM SCPM Basic Navigation
PERFORMANCE TESTING.
Load Runner Mercury Performance Test Tool
PERFORMANCE TESTING.
User guide for OneDrive
Presentation transcript:

Building Scripts For HP LoadRunner >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Building Scripts Introducing the Virtual User Generator (VuGen) The VuGen Window at a Glance Developing a Vuser Script Example- HP WebTours Website Tree View and Script View >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Introducing the Virtual User Generator (VuGen)  HP’s tool for creating Vuser scripts is the Virtual User Generator, VuGen.  During recording VuGen monitors the client end of the database and traces all the requests sent by the user and received from the user, to the server.  During playback, Vuser scripts communicate directly with the server by executing calls to the server API.  When a Vuser communicates directly with a server, system resources are not required for the client interface. This allows a large number of Vusers to run simultaneously on a single workstation, and few testing machines are required to emulate large server loads. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

The VuGen Window at a Glance >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Developing a Vuser script >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Recording Options  HTML based: Records script for every user action that is performed during recording  URL based: Records each and every browser request to the server and resources received from the server.  HTML mode is recommended for browser applications while URL mode is recommended for non-browser applications. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Start Recording  Application Type: Internet Application type for web based applications e.g. Web/Oracle NCA. Win32 Application type for non-Internet Applications e.g. Windows Socket.  Program to record: Select the browser or Internet application to record.  URL Address: Specify the application URL address. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Start Recording Script consists of 3 sections…  Vuser_init( ): Login to server  Actions: Clients activities  Vuser_end( ): Logoff >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

User Actions Logon (recording optional) vuser_init.c User Actions (Business Processes) Action1.c, Action2.c, etc. (e.g., Create Order, Ship Order) This section may be iterated (repeated) during one test run Logoff (recording optional) vuser_end.c >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Recording Script  Provide the URL of the application and navigate through the scenario that is to be tested.  The script is automatically recorded in VuGen. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Example- HP Web Tours Website  Open the Start Recording dialog box.  In the URL address box, type  In the Record into Action box, select Action.  Click OK. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Example- HP Web Tours Website  Log on to the HP Web Tours Website.  For the User Name enter “jojo” and for the Password enter “bean”. Click Login.  A welcome page opens. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Example- HP Web Tours Website  Click Flights and provide the following information:  Departure City: Denver (default)  Departure Date: Keep the default, current date  Arrival City: Los Angeles  Return Date: Keep the default, tomorrow’s date  Seating Preference: Aisle  Keep the rest of the default settings and click Continue. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Example- HP Web Tours Website  The Search Results page opens.  Select a flight:  Click Continue to accept the default flight selections. The Payment Details page opens. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Example- HP Web Tours Website  Enter payment information and book flight:  Enter in the Credit Card box and type 06/10 in the Exp Date box.  Click Continue. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Example- HP Web Tours Website  The Invoice page opens, displaying your invoice.  Check the itinerary:  Click Itinerary in the left pane. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Example- HP Web Tours Website  The Itinerary page opens.  Click Sign Off in the left pane.  Click Stop on the floating toolbar to stop the recording process. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Example- HP Web Tours Website  The Code Generation pop up window opens while the Vuser script is generated and recording summary is displayed.  The recording summary includes the protocol information and a list of the actions created during the session. For each step you performed during recording, VuGen generated a snapshot, a picture of the window during recording.  Select File > Save or click the Save button.  Type basic_tutorial in the File name box and click Save. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Viewing the script – Script View  Script view is a text-based view that lists the actions of the Vuser as API functions.  To view the script in Script view select View > Script View or click the Script View button.  In Script view, VuGen shows the script in an editor with color coded functions and their argument values.  You can type C or LoadRunner API functions, as well as control flow statements, directly into this window. >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

 Create script for HP WebTours application using HTML based recording mode.  Create script for HP WebTours application using URL based recording modes.  How does Protocol Advisor works? Analyze WebTours application using Protocol advisor?  Create script for HP WebTours application using different actions for login, transactions and logout. Questions - To Review Your Skills >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<

Thank You >>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<