+

Search Tips   |   Advanced Search


Globally replace a parameter in a recording

Once the extraction has been configured, the request should work correctly. However, it is a good idea to check to see if this same value is used in other requests in the scenario and to replace the static value with the new variable.


Globally replace a parameter in a recording

  1. Start the wizard with the Edit > Search and replace command.

  2. The wizard allows you to automate the replacement of the "id" parameter value with the "nl_extracted_param" variable. Select the first option Search request parameters, then click Next to go to the next step.

  3. Select...

      Search names and values and replace

    ...then click Next to enter the search criteria.

  4. In the first field, you will enter the value for the "id" parameter, that is to say "1241078526424", which was previously non-editable. In the second field, you will enter the replacement value "${nl_extracted_param}". If necessary, you can use the variable picker.

  5. Once the variable has been selected, click Next, then Finish. A dialog box allows you to replace each occurrence of the value "1241078526424". When all of the replacements have been made in the scenario, the dynamic parameter management is finished.


Home