Sending values to LoadRunner's RTS

4 views
Skip to first unread message

Perftst1 Sqad

unread,
Apr 4, 2017, 10:44:11 AM4/4/17
to hp-application-automation-tools-plugin
We have a LoadRunner 12.53 scenario that uses the Controller's Runtime Settings "Additional Attributes" to pass values to the executing scripts during a test/build.   Does the hp-application-automation-tools-plugin allow us to access the "Additional Attributes"?

Example: For now I have 3 scenarios (e.g. scenario1.lrs, scenario2.lrs and scenario3.lrs) that run the same TruClient script.   The RTS Additional Attributes are the only differences between one scenario to another (e.g. the script retrieves the attribute from the scenario's RTS TC.getAttr ("value here")).  We'd like to have 1 scenario and be able to modify the Jenkins build to tell it what RTS Additional Attributes to pass to the Controller.

Is this possible?  if so can anyone provide an example specifically for LoadRunner.    

Perftst1 Sqad

unread,
Apr 11, 2017, 5:04:14 PM4/11/17
to hp-application-automation-tools-plugin
Is there a better site to post this question?

Shlomi Nissim

unread,
Sep 6, 2017, 2:53:46 AM9/6/17
to hpe-application-automation-tools-plugin, hp-application-auto...@googlegroups.com
Hi,

There is an API for Controller Run Time Settings but I do not think using it in LoadRunner Jenkins plugin context will fit to Scenario execution flow. 
In my opinion you should raise an enhancement request in JIRA about your need. In the meanwhile you can modify the RTS file directly (default.cfg) for the relevant scripts as a pre-requisite step before running the scenario

Regards,
Shlomi
Reply all
Reply to author
Forward
0 new messages