Highlighted
Absent Member.
Absent Member.
274 views

Define the LB and RB for Loadrunner

Jump to solution

Hi , this is what the web service returns in the xml package and we need to correlate the value of modelInstanceId

"modelInstanceId":"8a99f2bc-c886-4627-9da4-1903366d78aa"

I tried
web_reg_save_param("ModelId","LB=modelInstanceId":"","RB="", LAST); gives a syntax error

Any ideas why?
0 Likes
1 Solution

Accepted Solutions
Highlighted
Respected Contributor.
Respected Contributor.

Re: Define the LB and RB for Loadrunner

Jump to solution
Yes, you need to account for " marks. It has to be preceded with a backward slash, like so:

web_reg_save_param("ModelId","LB=modelInstanceId\":\"","RB=\"", LAST);

View solution in original post

3 Replies
Highlighted
Respected Contributor.
Respected Contributor.

Re: Define the LB and RB for Loadrunner

Jump to solution
Yes, you need to account for " marks. It has to be preceded with a backward slash, like so:

web_reg_save_param("ModelId","LB=modelInstanceId\":\"","RB=\"", LAST);

View solution in original post

Highlighted
Absent Member.
Absent Member.

Re: Define the LB and RB for Loadrunner

Jump to solution

Thanks a lot, I'll try that out right now
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Define the LB and RB for Loadrunner

Jump to solution
Yes that was the problem. thanks again
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.