Highlighted
Trusted Contributor.
Trusted Contributor.
365 views

File error on Vugen script

hello

can you explain me why Vugen didn't replace the value of these parameter(SEQUENCE,pDATE). on my command: char *filename="xxxxxxxxx.csv"

 

on the runtimedata , i see the value of the parameter date (pDate)

on the output the command lr-output_message print the value SEQUENCE

please see the attach file

0 Likes
2 Replies
Highlighted
Honored Contributor.
Honored Contributor.

Re: File error on Vugen script

hi.

in order to get the string value of a parameter you need to use lr_eval_string API:

https://admhelp.microfocus.com/lr/en/12.55/help/function_reference/FuncRef.htm#FuncRef/c_vuser/lrFr_lr_eval_string.htm

 

Micro Focus Performance Core.
Functional Architect
your performance, our passion!
0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: File error on Vugen script

Hello

i found a another solution

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.