Knowledge Share

Knowledge is NOT Power IMPLEMENTATION of knowledge is Power!!!
HomePortalGalleryCalendarFAQRegisterUsergroupsLog in

Share | 

 LR Basics2

View previous topic View next topic Go down 

Posts : 141
Points : 407
Reputation : 0
Join date : 2007-12-29
Location : Chennai

PostSubject: LR Basics2   Fri Mar 16, 2012 11:02 am

Performance Test Approach

Evaluate System:

The major activities of this phase are
• Application walk through
• Access to the application
• Gathering all requirements
 Identify the Performance Goals
 Identify the Performance Testing Completion Criteria
 Software and Hardware Specifications of the production server

Develop System Assets:

• The major activities of this phase are
• Designing Test Scripts
• Recording test scripts
• Preparing test strategy document

Execute Tests:

The major activities of this phase are
• Test environment setup
• Application setup
• Test Data creation
• Test Execution
• Deriving the execution results and monitoring transaction flow.

Analysis and Validation:

The major activities of this phase are

• Analyzing thr Application server and database server resources.
Eg: CPU Usage, Memory Usage.
• Analyzing Client side metrics
Eg: Response Time.
• Identifying bottlenecks


Performance tuning: It is the activity of improving the performance of a Server (By Developers) .
Modifying a system to handle a higher load is performance tuning.

Bottleneck: Identify the part of the system that is degrading the performance.

Simply we can say the resource with highest utilization
Eg : Bottle neck in CPU, Bottleneck in Memory

Smoke Test: Perform trial runs before you jump into test execution.
Note: Run the Test for 10 Virtual users to Confirm the scripting is working and all the environment set up is working

Components of load Runner:

Virtual User Generator ( VUGen) : Captures end-user Business process and Creates automated Performance testing script also know as Virtual User Development environment

LoadRunner Controller: Generates load and collects test results
LoadRunner Analysis: Compiles and displays test results with graphical format

Virtual User Generator
Navigation: Start-Programs- Mercury Load Runner- Virtual user generator
Load runner supports 40 types of Applications (HTTP, SAP, CRM, FTP Protocols) .Our discussion limited only to HTTP Protocol.

Navigation: Vugen-File Menu- New-Web(HTTP/HTML)-Click on OK
-VUser Menu –Start Recording-Enter URL-Click on ok- Perform Actions
(Business Process)-Vuser menu –Click on Stop Recording (or Click Square black color button to stop recording).
Note: There are two Views of requests in the Vugen
1. Script View
2. Tree View (Recommended)

How Vugen working:
1. VuGen Captures HTTP To Create a Vuser
2. Replicates outgoing HTTP
3. Passes incoming HTML to browser

Record Toolbar Run Toolbar Tree view toolbar
1.Start,End LoadRunner
2. Insert Rendezvous
3. Insert Comment
4.Start, Pause, Stop Recording
5. Select Action File
6. New Action File
7.Recording Options 1. Run
2.Pause Run
3. Stop Run
4.Break Point
5. RunTime Settings
6.Visual Log
7. Launch Scenario 1. Step Properties
2. Insert step After
3. Insert step Before
4. Delete step

Action Files

Definition: A recorded business process that, when played back, emulates a real user performing the business process actions on a system.
By default three Action files in the Vugen.
1. Vuser_init
2. Action
3. Vuser_end

Recording in Action1 File:
Invoke Vugen-Click Start recording-Enter URL of site under test –Select Action in the list box-Conduct business process – And click Stop recording
Back to top Go down
LR Basics2
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Knowledge Share :: Testing :: Automation-
Jump to: