syntax int web_reg_save_param (const char *paramname, <list of Attributes>, last);
Parameter description:
paramname: The name of the parameter that holds the dynamic data
List of Attributes: Other properties, including Notfound, LB, RB, Relframeid, Search, ORD, Saveoffset, Convert, and Savelen. Property values are not case-sensitive, such as Search=all. The meanings of each property value are explained in detail below:
NotFound: Specifies what to do if the dynamic data to be found is not found.
A Notfound=error: When dynamic Data is not found, an error message is sent. If this attribute is not set, this is the default value for LoadRunner.
B. notfound=warning: When no Dynamic data is found, no error message is issued, only a warning is issued, and the script continues to execute without interruption. You can use this property value when you make a mistake in the diagonal.
lb: The left boundary string for dynamic Data. This genus is a must-have and case-sensitive.
RB: The right boundary string for dynamic Data. This genus is a must-have and case-sensitive.
Relframeid: The frame of the page you want to search relative to the URL. This genus can be all or numbers, and is optional. Search: The scope of the search. It can be headers (search headers only), body (search the body only, not search header), Noresource (search only the body part, not the header and resource) or all (search the full range, this is the default value). The nature of this genus is optional.
Ord: Indicates that the data to be retrieved starts from the left edge of the first few occurrences. This property is optional and the default value is 1. If the value is all, then all data that is found to match is stored in the array.
Saveoffset: When matching Dynamic data is found, it starts at the beginning of the first few characters to be stored in the parameter. This generic property cannot be negative, and its default value is 0.
convert: There are two possible values:
- Html_to_url: Turning html-encoded data into url-encoded data format
- B. html_to_text: Convert html-encoded data to plain text data format
Savelen: The string in the specified length is stored in the parameter, starting with Offect. This parameter is optional and the default value is-1, which means that the entire string is saved to the end.
Loadruner Association Web_reg_save_param