Highlighted
Regular Contributor.
Regular Contributor.
342 views

passing value from 1 script to other

Jump to solution

Hello everyone,

Can some one please help me with some ideas of passing value from one script to other script during execution?? I have a scenario where one script will genrate some output value that will act as input to another script . How to handle this situation??

Thanks in advance.

Cheers.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: passing value from 1 script to other

Jump to solution
Hello,



VTS is the easiest option. You could maybe write the values to a file and then read that file again.

Another option is to put the two scripts into one script (if that is possible, and plausible for your workload) and then use variables.



With regards,



Andre


View solution in original post

0 Likes
7 Replies
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: passing value from 1 script to other

Jump to solution

You could use VTS.

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: passing value from 1 script to other

Jump to solution

Can you please give little bit  more idea about VTS? Is there any documentation for that?

 

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: passing value from 1 script to other

Jump to solution

VTS - Virtual Table Server. Is in the additional software with Loadrunner / Performance Center. Documentation is included there.

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: passing value from 1 script to other

Jump to solution

Hi Andrem,

Thanks for the reply.

Is there any other way of doing it except VTS?

 

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: passing value from 1 script to other

Jump to solution
Hello,



VTS is the easiest option. You could maybe write the values to a file and then read that file again.

Another option is to put the two scripts into one script (if that is possible, and plausible for your workload) and then use variables.



With regards,



Andre


View solution in original post

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: passing value from 1 script to other

Jump to solution

Try putting all scripts as different actions in same script. Then its easy passing values between actions.

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Re: passing value from 1 script to other

Jump to solution

Thanks everyone for the reply.

I have used VTS concept and it worked for me.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.