Set/get LR runtime settings from script

Hi,

We have a requirements to run simultaneously the same script with different bandwidth speed for mobile project.

I found out that I can call the same script multiple times from the same Controller scenario, where each call has different runtime setting.

Can I get the setting from the script to split responce time by bandwidth speed?

Can we change Speed Simulation runtime setting from a script like we do it with Download Filters by using LR function?

 

 

Parents Reply Children
  • Hi Tatiana,

    The link that you've provided is about manual (static) setup in Runtime Options. The original question was about how to change Runtime Options from within a script.

    Scenario: One mobile script will run with different nttwork speed that is selected in script based on workflow. The selected speed is captured and added to transactions names (dinamically) to see responce time for the same stansactions but with different network speed in Analyses for comparison. In this case we can have one script.

    Setting runtime options manualy will require to maintain a number of copies of the script where transactions names are hardcoded.

     

  • OK, let's simplify the task. What would be your recommendations to run the same script with 5 different network speeds simultaneously

  • Verified Answer

    Hi ,

    You should follow these steps:

    1. Create 5 different groups of the same script in Controller or Performance Center.
    2. Define different runtime settings for each. It cannot be controlled by script code only by run time settings
    3. If you wish to distinguihs between transactions you should:
    3.1 either rely on Group By group option in Analysis application
    3.2 or add a suffix or prefix to the transaction name based on the group name. This can be done by defining gropu name as a parameter in the script and concatenating it to each transaction.
    Either way you need to use a meaningful name in the group name.

    Good luck,
    Shlomi

  • Thanks a lot Shlomi (toda raba) - it work perfectly!