gpt-oss-20b· openai
from compar:IA French AI Arena
max websetmaxhtmlparam_len sous vugen
- User
max web_set_max_html_param_len sous vugen
- Assistant
web_set_max_html_param_len– What, Why & How to Use It in VuGenItem Description Purpose Sets the maximum number of characters that the Web/HTML engine will read for a single HTML form field (parameter). Default value 10 000 characters (≈10 kB). Typical use‑case You’re capturing a very long input (e.g., a large comment, a file‑upload field, or a JSON string in a hidden field) that exceeds the default 10 kB limit and you want to avoid truncation. Where it lives In the Web/HTML protocol – either set it in the script properties window or call it directly from your script.
1. Set the value programmatically (recommended for scripts)
cAction() { /* Increase the limit to 25 000 characters – change as needed */ web_set_max_html_param_len(25000); /* Now all subsequent web_* calls will honor the new limit */ web_url("Homepage", "URL=http://example.com", "TargetFrame=", "Resource=0", "RecContentType=text/html", "Referer=", "Snapshot=t1.inf", "Mode=HTML", LAST); /* ... your test logic ... */ return 0; }Key points
- Call
web_set_max_html_param_len()once, before any request that might hit a long parameter. - The value is an integer (number of characters).
- Typical ranges: 10 000 – 50 000 for most tests.
- Maximum: The LoadRunner runtime accepts values up to 2 000 000 characters (≈2 MB). Going beyond that is rarely necessary and can consume a lot of memory.
2. Set the value via the VuGen UI (quick way)
- Open your script in VuGen.
- Go to
Script→ → (or click the "Web/HTML" tab in the script editor).
- Call
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.