Manage frameworks dynamic parameters
You can add, edit and delete framework dynamic parameters, just as regular frameworks, using the procedures described hereinafter.
The simplest way to define a framework dynamic parameter is to set a variable extractor on one of the requests whose server response contains the dynamic parameter and then convert the extractor into a framework dynamic parameter:
- To create a framework dynamic parameter using a variable extractor
- In the User Path, select the request whose response contains the dynamic parameter.
- Click on the Advanced button.
- Select the Variable extractors tab.
- Click on the + button to add a variable extractor.
- Define a variable extractor to enable the dynamic value extraction (give the variable the name of the dynamic parameter). See Create a variable extractor.
- Select the extractor in the list of variable extractors.
- Click on the Add to framework parameters button.
- Enter the parameter name and the framework name (we may use an existing framework or enter the name of a new framework), then click Next.
- Configure the replacement settings for the dynamic parameter, then click Next.
- Launch a dynamic parameter search for NeoLoad to set the remaining extractors required and to replace the parameter value with the extracted value
This extractor is now added to the list of framework parameters. When future dynamic parameter searches are carried out (after the next recording for example), NeoLoad will be able to configure the extractors automatically and replace the static value in the requests with the extracted variable.
Using a variable extractor to add a dynamic parameter provides an easy way to configure the regular expression and the template to apply to find the parameter.
- To create a framework parameter from the Preferences
- Go to the Frameworks section in the Global Preferences.
- Select the framework in which you want to create the parameter.
- Click on the + button to the right of the framework parameters table.
- Enter the required information, and click OK.
- To edit a framework parameter from the Preferences
- Go to the Frameworks section in the Global Preferences.
- Select the framework containing the parameter.
- Select the framework parameter to be edited.
- Click on the framework parameter editing button.
- When you have finished editing the parameter, click OK to confirm.
Home