Highlighted
Trusted Contributor.
Trusted Contributor.
672 views

Re: Ajax TruClient LR 12 display error/output message.

Jump to solution

Hi,

How can I print Load generator name in trueclient script similar to lr_get_host_name( )

Thanks,
Lakshmi

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Re: Ajax TruClient LR 12 display error/output message.

Jump to solution

You can add a c-function step in TruClient. In the c function call lr_get_host_name( )

View solution in original post

2 Replies
Highlighted
Absent Member.
Absent Member.

Re: Ajax TruClient LR 12 display error/output message.

Jump to solution

You can add a c-function step in TruClient. In the c function call lr_get_host_name( )

View solution in original post

Highlighted
Trusted Contributor.
Trusted Contributor.

Re: Ajax TruClient LR 12 display error/output message.

Jump to solution

Thank you.

 

I used the same solution of C code.

One more option is we can ad the Lodgenerator parameter type and use LR.getParam( ) to get the LG name.

 

Thanks,

Lakshmi

 

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.