Highlighted
Absent Member.
Absent Member.
3129 views

How to ignore error with web_reg_save_param_ex? Vugen 11

Hello,

I am trying to use the: "NOTFOUND=EMPTY", attribute to ignore the error generated when the value being looked for in a web_reg_save_param_ex is not found.

 

However this itself is causing an error. Can someone explain to me what is incorrect with the following?

 

web_reg_save_param_ex(
        "ParamName=CorrelationParameter_1",
        "NOTFOUND=EMPTY",
        "LB=FTS=",
        "RB=&\"></script",
        "Ordinal=3",
        SEARCH_FILTERS,
        "Scope=Body",
        "IgnoreRedirections=Yes",
        "RequestUrl=*/Portal/*",
        LAST);

 

Error generated:

 

Action.c(210): Error -26351: Invalid value for the "NOTFOUND=EMPTY" argument (number 2)      [MsgId: MERR-26351]
Action.c(210): Registering web_reg_save_param_ex highest severity level was "ERROR"      [MsgId: MMSG-26389]

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Hey Bashar,

 

Check the function reference for this function. There are only to options, ERROR and WARNING, EMPTY is not valid.

 

Regards,

Mario M.

HP LR/PC Support

If you are customer you can try posting on our internal forums for more personalized support.

LoadRunner:
http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/bd-p/loadrunner-support-customer-forum

Performance Center:
http://h30499.www3.hp.com/t5/Performance-Center-Support/bd-p/performance-center-support-customer

How to:
http://www.youtube.com/watch?v=4ChlysWupWM

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Highlighted
Absent Member.
Absent Member.

Thanks,

I will try that.

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.