GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  LoadRunner
Go To First  |  Previous Question  |  Next Question 
 LoadRunner  |  Question 67 of 126    Print  
When to use block in the script for LOad runner

  
Total Answers and Comments: 3 Last Update: March 06, 2008     Asked by: t_ansar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 22, 2007 04:41:21   #1  
Anshoo_Arora Member Since: October 2007   Contribution: 384    

RE: When to use block in the script for LOad runner
You can use block size (in the Controller) to manually allocate blocks for your running Vusers. For example, if you choose a block size of 50 for 10 Vusers with values starting at 0, this is how your Vusers will be assigned values:

Vuser 1: 0 to 49
Vuser 2: 50 to 99
... and so on


 
Is this answer useful? Yes | No
February 23, 2008 06:02:55   #2  
a.parveen Member Since: February 2007   Contribution: 6    

RE: When to use block in the script for LOad runner
For executing the different user actions with different no. of times u can use blocks.
For Eg:
There are 2 actions
If u want to execute 1st action 10 times and 2nd action 15 times u can use blocks.
Vuser --> Run Time settings u can insert blocks

 
Is this answer useful? Yes | No
March 06, 2008 05:19:49   #3  
hariprasad reddy Member Since: January 2007   Contribution: 1    

RE: When to use block in the script for LOad runner

Generally we dont we blocks for load testing(here load testing means Controller). Because “number of iterations” is only used when running the script in VuGen. we dont use iteratations in the controller. To check the functionality of the script we do different Runtime setting options in vuGen. Comming to Blocks also the same thing,


              Suppose, if my script is having multiple Actions, each with different business process and if i need to get fractional percentage weightages for each  business process - then, we create a block that runs 1% of the time, and put an action in the block that runs 10% of the time. So, to Replay different Actions with different iteratations we use Blocks.

HARIPRASAD

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape