LR 11.52 scripting; how determine the size of the value to using for the web_reg_max_html_param_len function
Question ID: 105427
0
0

I’ve created a script and when I ran the script, I got an error message that failed when getting a correlation value. The error message reference the web_reg_max_html_param_len function. My question is; how do I determine the size of the value to using with this function.

Marked as spam
Posted by (Questions: 231, Answers: 18)
Asked on May 29, 2014 7:42 pm
37 views
Answers (1)
1
Private answer

The **web_set_max_html_param_len()** allows you to set the maximum size that can be allocated to correlated data value. Increasing the default size from 1024 bytes to a larger value will result in your script consuming additional memory. As a result, you will want to set this value only as high as absolutely needed. The best way I have found to do this is to run the script and get a byte count of the largest data stream that you wish to correlate. I never want to set this too low; so, I add a 20% fudge factor to allow for variations in the size of the data stream. If I bump into a situation where the script still fails, I will again, increase the value by an additional 20%. This has always worked for me in the past

Marked as spam
Posted by (Questions: 12, Answers: 384)
Answered on May 29, 2014 8:05 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top