Automated script to Change the Runtime settings in LoadRuner Controller

38 views
Skip to first unread message

Babitha Mendonca

unread,
Jun 27, 2013, 8:42:32 AM6/27/13
to LR-Loa...@googlegroups.com
hi All,
 Is there any automated script/tool  to Change the runtime setting in the controller, than doing it manually for each script in the scenario.
 Eg. IF i have 100 scripts in the scenario and i want to make Runlogic=1 and Log disable for all the 100 scripts. how can i do it using automated scripts? Can we create script in vb or Perl which does this action ??? 
Please suggest...
If possible please give the code also..Thank you

James Pulley

unread,
Jun 27, 2013, 9:40:47 AM6/27/13
to LR-Loa...@googlegroups.com
Everything in the script is a text file.   Make the changes in the script before you import and all of those items will be accepted as a default.  Or, if you use a base controller and not performance center, then open up the lrs file programmatically and make the changes.   How will you know what to change?

Have one file with stuff you do not want.    Save it as A.LRS.    Make the changes.   Save it as B.LRS.   Compare the two fiiles.   This will provide a guide for you to make the changes you desire using any number of tools from C to SED.

We hire for foundation skills in test, development, architecture, systems analysis, so test designs which stump others we handle quite well.

Rick Carter (University of Michigan)

unread,
Jun 28, 2013, 3:20:31 PM6/28/13
to LR-Loa...@googlegroups.com
In LR 11.0 anyway, you can select multiple scripts, though not always all of them. The limit seems to be 25 if I recall correctly. We have a scenario with about 30 scripts and I was able to bulk-change a couple of things in two group-selects.

- Rick
--
Rick Carter
Application Systems Administrator Senior
Information and Technology Services
University of Michigan

thilak nadh

unread,
Jul 3, 2013, 5:05:19 AM7/3/13
to LR-Loa...@googlegroups.com
Hi Babitha,

In controller if you select scenario you can give common run time settings for all scripts in that scenario


--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunne...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Pradhyumna Gupta

unread,
Jul 3, 2013, 9:41:59 AM7/3/13
to LR-Loa...@googlegroups.com

Select all the scripts that you can(as many as controller allows). Click Runtime settings> Shared Runtime Settings. Make the changes.....

Reply all
Reply to author
Forward
0 new messages