Loadrunner Online training by Cheyat Technologies - PowerPoint PPT Presentation

About This Presentation
Title:

Loadrunner Online training by Cheyat Technologies

Description:

Load runner Online Training : Load runner online training provided by Cheyat has trained thousands of testing engineers and has made them specialists in Performance Testing areas. Cheyat offers the best Load runner online training through SME's who use Load runner in major projects across MNC's. Customized content and individual attention given to each student/professional makes them experts at every level of Performance Testing Life Cycle. Course Content: For more info email us: Trainings@cheyat.com Thanks & Regards, Jilani Shaik +91-91009-98433/34(India) +1-224-676-9882(USA) – PowerPoint PPT presentation

Number of Views:41

less

Transcript and Presenter's Notes

Title: Loadrunner Online training by Cheyat Technologies


1
Creating Vusers CHECKPOINTS
http//cheyat.com/qa/loadrunner-online-training-
tutorials
LRWEB6.5/03
2
Objectives
In this lesson you will learn
  • Visual cues to check for during load testing
  • The importance of functional testing under load
  • The types of checks in VuGen
  • How to add verification checkpoints during
    recording

3
The Business Process Works for One User . . .
Process complete!
theInternet
Web Server
Database server
Database server
4
. . . But May Not Work for Many Concurrent Users
Process failed!
theInternet
Web Server
Database server
Database server
5
Key Terms Used in This Course
6
Which Visual Cues Confirm Business Process
Success?
7
How Virtual Users Verify Functionality
  • Virtual Users
  • Store the expected value
  • Compare the actual value on the web page to the
    expected value during playback
  • Report the comparison result (status), either
    PASS or FAIL

8
Key Terms Used in This Course
9
Types of Checks
10
Determine Visual Cues to Verify
Same image whenever page is loaded . . .
11
LoadRunner Expert WorkflowZooming In
12
2.4 Add Verification ChecksCreating an Image
Check
1. While recording, get the image name
a. In the browser, right click on image to be
checked
b. Select Save Picture As from pop-up menu
13
2.4 Add Verification ChecksCreating an Image
Check
c. Copy existing file name using Ctrl C
d. Click Cancel
(logo.gif)
NOTE If the file extension (.gif, .jpg, etc.)
does not appear, type it in the box yourself
before copying
14
2.4 Add Verification ChecksCreating an Image
Check
2. Add the step
a. Click the Insert After toolbar button
b. The Add Step dialog opens
c. Select Image Check, and click OK.
The Image Check Properties dialog opens.
15
2.4 Add Verification ChecksCreating an Image
Check
3. Paste the file name into Image Check Properties
a. Check the Image server file name (SRC
attribute) check box
b. Paste the file name into the edit box using
Ctrl V
16
2.4 Add Verification ChecksCreating an Image
Check
4. Rename the step
a. Click the General tab
b. Change the Step Name from default Image
Check to a more descriptive name
c. Click OK to finish
17
2.4 Add Verification ChecksCreating an Image
Check
The image check step is displayed in the Icon
Tree under the page where image appears
18
Types of Checks
Example usage
Check
Did the news site display the picture?
Image
Did a search enginereturn expected matches?
Text
19
Determine Text Check Type to Use
DESCRIPTION
TYPE
EXAMPLE
Checks for an exact match of the visual cue
Plain text
A
Regular expression
Checks for a flexible range of values
a-z.
9
Checks for numeric values defined in the check
Number
20
Determine Text Check Type to Use
Type Type
Use plain text
Same static text whenever page is loaded . . .
21
2.4 Add Verification ChecksPlain Text Check
With Boundaries
22
Determine Text Check Type to Use
Order number changes for every transaction . . .
23
Key Terms Used in This Course
24
Regular Expressions Explained
NOTE For more information about regular
expressions consult your LoadRunner documentation
25
2.4 Add Verification ChecksRegular Expression
Check
26
2.4 Add Verification ChecksChecking a Visual
Cue Generated by a Parameter
27
2.4 Add Verification ChecksChecking a Visual
Cue Generated by a Parameter
1. Add a text check to a parameterized step
2. Click the ABC button
3. Select the steps parameter from the list and
click OK
  • LoadRunner will now check for the value of the
    parameter during each iteration

28
Checking for an Error Page
Q If you check for an error page and the error
page is found, should the Vuser pass?
A No.
Q So, how do you change a checks pass to a fail
and vice versa?
29
Modify Check Properties
  • 1. Open Text Check Properties dialog, General tab

2. Uncheck View only the active properties
3. In the Expect row, select NotFound from
Value list
4. Click the box to the left of Expect
30
LoadRunner Expert WorkflowZooming In
31
Setup for Execution Enable Checks in Run-Time
Settings
  • NOTE If a check was added
  • during recording, this setting is automatically
    checked
  • after recording, you must check the setting
    yourself

32
2.5 Verify Correct ExecutionCheck Mercury Test
Results Window
PASSED EXAMPLE Test Status Passed Check marks
Green
33
2.5 Verify Correct ExecutionCheck Mercury Test
Results Window
FAILED EXAMPLE Test Status Failed X marks Red
34
2.5 Verify Correct Execution Check VuGen
Execution Log
PASSED EXAMPLE
35
2.5 Verify Correct Execution Check VuGen
Execution Log
FAILED EXAMPLE
36
Summary
  • Determine the visual cues you will check to
    verify each business process
  • Add text and image checks during recording
  • Make sure that Enable verification checks is
    checked in the Run-Time Settings, HTTP tab before
    running the Vuser
  • LoadRunner compares a stored, expected value to
    an actual value obtained during the run
  • The check status is always PASS or FAIL

37
Lab Exercise
Write a Comment
User Comments (0)
About PowerShow.com