Dynamic parameters are link or form parameters that are generated by the server. Normally invisible to the end-user, these parameters are inserted into submitted links and forms.
Unless the test designer decides otherwise, during the test run the recorded values are submitted "as is". Therefore, these values need to be re-worked using a process of data extraction and re-insertion. The Search for dynamic parameters function, included in the Post-recording Wizard, allows you to identify the dynamic parameters and automatically configures the User Path to allow the extraction and insertion of the appropriate data.
The Search for dynamic parameters function automatically handles dynamic parameters in the vast majority of cases. For more complex cases, the parameter must be managed manually using one of the extraction methods described hereinafter.
NeoLoad provides various data extraction methods to extract and insert link or form parameters. The methods are used automatically by the Search for dynamic parameters
function and can be used explicitly for manual extraction.
The following section briefly outlines each method and provides guidance on choosing the appropriate method for each particular case.
In this mode, NeoLoad searches for a link in the previous response according to the criteria entered in the request definition pane and submits the link it finds.
The advantages of using a link extractor are:
id
attribute is "search-tab" or whose (text) is "Next";This type of extractor only works with standard links declared in HTML code and cannot be used where the link is created dynamically using JavaScript calls.
For more information, see Follow a link from the previous request and Follow a link from the previous request.
In this mode, NeoLoad searches for a form in the previous response according to the criteria entered in the request definition pane and submits the form it finds. Custom values can be inserted in the extracted form.
The advantages of using a form extractor are:
id
attribute is "search-form
";For more information, see Submit a form from the previous request and Submit a form from the previous request.
In this mode, NeoLoad extracts the data using a regular expression. You may fine-tune the extraction for extracting multiple values.
The advantages of a using variable extractor on a parameter are:
For more information, see Use a manual definition and Handle an application dynamic parameters.
In this mode, NeoLoad extracts the data using a regular expression. You may fine-tune the extraction for extracting multiple values.
The advantages of using a variable extractor on a request are:
For more information, see Variable extractors.
Thanks to its Search for generic dynamic parameters function, NeoLoad can detect and automatically configure dynamic parameters.
The Search for generic dynamic parameters section allows you to automatically detect an application custom dynamic parameters without having to declare them in advance. When this detection fails, the parameter needs to be handled using a variable extractor. NeoLoad allows you to add this Variable Extractor to a list of pre-defined rules so that the search for Framework dynamic parameters automatically handles this custom parameter at each new recording.
For more information, see Framework dynamic parameter handling.