Geeks Talk

Prepare for your Next Interview




Scheduling a loadrunner script

This is a discussion on Scheduling a loadrunner script within the LoadRunner forums, part of the Software Testing category; Is it possible to schedule the LoadRunner to run a script, on say, sunday, without us manually having to be present? I have recorded scripts with Loadrunner for a web ...


Go Back   Geeks Talk > Software Testing > LoadRunner

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-20-2008
Junior Member
 
Join Date: Feb 2008
Location: bangalore
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
namrathas is on a distinguished road
Scheduling a loadrunner script

Is it possible to schedule the LoadRunner to run a script, on say, sunday, without us manually having to be present?
I have recorded scripts with Loadrunner for a web application and tried to schedule it by going to Scheduled Tasks on Control Panel, but there is no option to program the 'run' button for a script?
Can you tell me how this is possible?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-21-2008
Contributing Member
 
Join Date: Jan 2008
Location: Israel
Posts: 32
Thanks: 0
Thanked 3 Times in 3 Posts
shlomini is on a distinguished road
Re: Scheduling a loadrunner script

You should try using mdrv.exe for that. mdrv.exe is the engine running Vusers, by using its' cmd line options you can run the script from a batch file and a batch file can be scheduled from the Scheduked Tasks

shlomini
Reply With Quote
  #3 (permalink)  
Old 02-22-2008
Banned
 
Join Date: Jul 2007
Location: Chennai
Posts: 36
Thanks: 0
Thanked 2 Times in 2 Posts
balajip82 is on a distinguished road
Re: Scheduling a loadrunner script

Hi, shlomini, can you explain me about scheduling the loadrunner scripts by mdrv.exe engine by using cmd line options elaborately.

thanks in advance
Reply With Quote
  #4 (permalink)  
Old 02-22-2008
Contributing Member
 
Join Date: Jan 2008
Location: Israel
Posts: 32
Thanks: 0
Thanked 3 Times in 3 Posts
shlomini is on a distinguished road
Re: Scheduling a loadrunner script

There are two different completely capabilities to scheduling in LoadRunner

1. Refering to balajip82 Q. The capability to run VuGen script using mdrv.exe directly and not through LoadRunner UI, is some kind of a twisted workaround for scheduling scripts to run. User the first two command line options (see attached file), -usr and -file, to run your script via command line. The .ci file required for running the -file option is created by default by VuGen when you run the script from VuGen, so you can take this copy

2. Refering to namrathas Q. You can start your scheduler with delay of HH:MM:SS time, using the scheduler options so potentialy you can do that. The capability is very limited, but answer your need. Performance Center gives the full blown solution in automatic scheduling of load tests

shlomini
Attached Images
File Type: jpg mdrv_cmdline_options.JPG (95.2 KB, 25 views)
Reply With Quote
The Following User Says Thank You to shlomini For This Useful Post:
  #5 (permalink)  
Old 06-20-2008
Junior Member
 
Join Date: Jun 2008
Location: India, Bangalre
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Syed Ahmed is on a distinguished road
Re: Scheduling a loadrunner script

Script scheduling script scheduling allows you to specify settings for each script in the step separately. For example, you can schedule a different duration for each script. To schedule scripts: in the schedule builder window, click the schedule by script radio button. Mercury tuning console displays a start time tab, in addition to the tabs displayed when you schedule by session step (see session step scheduling). The start time tab includes a list of the scripts contained by the step. To specify settings for a particular script, click the step name to select it and choose the appropriate start time setting, as described in understanding the start time tab. Specify the settings in the other tabs (ramp up, duration and ramp down) as described in scheduling session steps. Understanding the start time tab
Reply With Quote
Reply

  Geeks Talk > Software Testing > LoadRunner


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
how can i write user define functions in LoadRunner Script? bnswamyATP LoadRunner 6 2 Weeks Ago 05:59 AM
Conversion of QTP script in to Loadrunner script coolkrish LoadRunner 8 06-20-2008 05:22 AM
Loadrunner script with attachment files sai1234 LoadRunner 5 02-20-2008 03:20 AM
scheduling sathishbabudwh Data Warehousing 1 12-10-2007 03:10 AM


All times are GMT -4. The time now is 06:53 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved