Request parameters
Parameter definition is used to define, in particular, the request dynamic parameters. Each parameter in the definition must be present in the link to be extracted. NeoLoad will be able to use a link that contains additional parameters to those present in the definition.
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.
When extracting a link, we may automatically create NeoLoad variables containing the parameter values when the link is executed. This allows extracting the dynamic part of the link and using it in subsequent requests. If, for example, the application frequently uses the same dynamic parameter, we may define a Link Extractor at the parameter first use and use the variable in all the other requests that use that same parameter. This avoids multiplying searches in the server response pages and results in better performance.
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
Three options are available for the parameter value:
- The value must be an expression. The value expression may contain plain text and NeoLoad variables. The link that NeoLoad is going to extract must contain this parameter with this value. This implies that the value is static and that any link containing this parameter but with a different value should be ignored.
- The parameter must exist, whatever its value. The link that NeoLoad is going to extract must contain this parameter, whatever its value. This generally implies that the parameter value is dynamic and is not known beforehand. This dynamic value may then be placed in a NeoLoad variable by editing the Extract in variable column in the parameters table.
- The value must match a regular expression. The link that NeoLoad is going to extract must contain the parameter and the value must match the regular expression. This generally implies that part of the parameter value is dynamic and is not known beforehand. The value used may then be placed in a NeoLoad variable by editing the Extract in variable column in the parameters table.
Home