Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
611 views

LR Tip: Error: "No match found for the requested parameter 'ParameterName'. If the data you want..."

When replaying Web script with a correlation statement, the user receives the following error:


"No match found for the requested parameter 'ParameterName'. If the data you want to save exceeds xx bytes, use web_set_max_html_param_len to increase the parameter size."

 

Even though the user tries to increase the size for web_set_max_html_param_len, it does not help. What will be a good number for this parameter, and what is the maximum value?

 

Diagnosis:

When replaying a script with a correlated value, the replay engine will return the above error when there is no match found for the predefined boundaries on the correlation statement. The following information from the error message: If the data you want to save exceeds xx bytes, use web_set_max_html_param_len to increase the parameter size

The above is just a suggestion to try, it may not be a solution. This suggestion should be taken, only if the expected data is over xx bytes.

 

Solution

Dealing with web_set_max_html_param_len


1. Find out the size of the data you are trying to retrieve. If it is over 256 bytes, increase this value. Correlation will fail if you try to retrieve a string whose length exceeds the maximum length specify by web_set_max_html_param_len.

 

Note:
The maximum length for web_set_max_html_param_len is maximum value of unsigned int, which is equal to 4294967295 bytes. If the data you want to save exceed this boundary, you will need to create multiple correlation statements for retrieving the entire dataset.However it is not recommended that such a big value be used and that a value closer to the maximum paramter length expected should be used.

 

2. If the data you want to save do not exceed the bytes specify in the function, you should focus on finding the correct boundaries or placing the correlation function on the correct place.

 

For information about correlation, You may refer to the below document link:  https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM178451

Labels (1)
1 Reply
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

Re: Error: "No match found for the requested parameter 'ParameterName'. If the data you want...

Two main reasons for this error are:
1) Parameter 'ParameterName' is still present in a response but your correlation statement doesn't capture it anymore
2) Parameter 'ParameterName' is not present in a response

 

PraveenaR, what is a reason for this error in your case?

Tags (2)
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.