Request parameters
Parameters may be defined for any type of request (GET, POST, HEAD, PUT...). Some may be applied to static values and others to dynamic values by using variables.
Editing a parameter name or value is done in a dedicated window. Double-click on a name or value in the parameters table to open the window.
Parameter name
The name may contain plain text or a NeoLoad variable. When the Encode name box is checked, the specified name is encoded in MIME application/x-www-form-urlencoded format before being submitted (e.g. spaces are encoded as %20). Clear the check box if the name is already encoded.
Parameter value
Two options are available for the parameter value:
- Use an expression. The value expression may contain plain text and NeoLoad variables. The value may comprise several lines in the case of a POST.
- Use an extracted value. This option allows defining a value extracted from a previous server response. This option typically is used in the case of a server-generated dynamic value that changes for each user.
The extractor to be used can be modified manually using the Edit button. Clicking the button displays the Variable Extractors interface, giving you the additional option of selecting the request on which the extraction should be carried out. If no configuration is applied, NeoLoad offers the option of configuring the extractor automatically. See Variable extractors.
Clicking the Automatic configuration button starts a search for the parameter in the previous requests. NeoLoad searches the previous requests for the parameter value and for the best regular expression to extract it. If one of the tested configurations works, NeoLoad will replace the existing extractor with the one found.
The Add to framework parameters button allows adding the Variable Extractor as a Framework parameter and carrying out a dynamic parameter search. See Frameworks.
During validation, NeoLoad searches for the subsequent occurrences of the variable value. If other requests use that value, NeoLoad offers to replace the parameter values automatically. See Variable correlation.
If the Encode value box is checked, the specified value is encoded in MIME application/x-www-form-urlencoded format before being submitted (e.g. spaces are encoded as %20). Clear the check box if the value is already encoded.
Home