Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 Blogs FAQ Tag Cloud 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 4 Times in 4 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 3 Times in 3 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 4 Times in 4 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, 53 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT -4. The time now is 07:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved