Schedule the LoadRunner script for playback
Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: LoadRunner @ OneStopTesting
Forum Discription: LoadRunner is a performance and load testing product by HP / Mercury Interactive for examining system behavior and performance, while generating actual load.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=1469
Printed Date: 03Jul2024 at 12:01am
Topic: Schedule the LoadRunner script for playback
Posted By: tanushree
Subject: Schedule the LoadRunner script for playback
Date Posted: 10Jun2007 at 10:03pm
When monitoring transactions in a production environment, it is
recommended that you check the status of the transaction on a regular
basis. For example, you could create a LoadRunner script that logged
into your web application every 5 minutes. To schedule LoadRunner to
run automatically on a regular schedule, you can use a tool like
Windows Scheduler that comes with the Windows operating system.
Click Start -> Control Panel -> Scheduled Tasks. Click Add Scheduled Task and then click Next to start the wizard.
![](https://bp3.blogger.com/_MV3BBuzLIiw/RmxEuBDB7XI/AAAAAAAAAAU/sxj9atpo6ds/s320/LR001.gif)
Click Browse. Select mdrv.exe and click OK. An example location is C:\\Loadrunner\bin\mdrv.exe Change
the name of the job to be more descriptive. For example, you might use
the name of a LoadRunner script, such as PlantsByWebSphere.
![](https://bp3.blogger.com/_MV3BBuzLIiw/RmxFEBDB7YI/AAAAAAAAAAc/nBLpQy_2J_o/s320/LR001.gif)
Select the frequency to run LoadRunner by clicking Daily and Next. Daily is the shortest interval.
![](https://bp0.blogger.com/_MV3BBuzLIiw/RmxFiRDB7ZI/AAAAAAAAAAk/b9H7wgEOyro/s320/LR001.gif)
Configure the schedules start date and time and click Next.
![](https://bp0.blogger.com/_MV3BBuzLIiw/RmxF1RDB7aI/AAAAAAAAAAs/e7rI3kaS4-0/s320/LR001.gif)
Enter the user name and password for the user who runs this job and click Next.
![](https://bp3.blogger.com/_MV3BBuzLIiw/RmxGEBDB7bI/AAAAAAAAAA0/iUFII1q0cJM/s320/LR001.gif)
Select Open advanced properties for this task when I click Finish and click Finish.
![](https://bp0.blogger.com/_MV3BBuzLIiw/RmxGYRDB7cI/AAAAAAAAAA8/9pjrkEWmfWc/s320/LR001.gif)
Edit the Run field with the command line options to invoke the LoadRunner script.
See to the LoadRunner Help documentation for full command reference details. For example: C:\\Loadrunner\bin\mdrv.exe -usr C:\\LoadRunner\scripts\PlantsByWebSphere.usr -out C:\\itcam\logs\PlantsByWebSphere.out -lr_view -drv_log_flush -drv_log_file C:\\itcam\logs\ PlantsByWebSphere.log -cci_debug -cci_trace Select the Schedule tab.
![](https://bp1.blogger.com/_MV3BBuzLIiw/RmxGqhDB7dI/AAAAAAAAABE/_eqeJSfIhKw/s320/LR001.gif)
Click Advanced. Select Repeat task. Edit the schedule to run as frequently as you want. Click OK.
|
Replies:
Posted By: papayamilkshake
Date Posted: 12Sep2007 at 9:29am
Great stuff!
------------- -papayamilkshake
LoadRunner TnT @ http://loadrunnertnt.com
|
|