Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2020.1

...

...

  1. Double-click the test in the Load Test Explorer  (available in the Load Test perspective) to open its configuration panel.
  2. Select the specific request whose values you want to parameterize.
  3. In the URL or Request Body tab (depending on what part of the request you wish to parameterize), highlight the text you want to parameterize.
  4. Click Parameterize Selected Text.
  5. In the dialog that opens, specify a name for the parameterized value. The actual value in the URL or Request Body tab will be replaced with a reference to a variable, and an entry for that variable will be added to the Parameterized Values area at the bottom of the test configuration panel.
  6. To configure the variable to use a fixed value, choose Fixed in the Value field, then select the desired value in the box to the right of Fixed.
  7. To configure the variable to use a value that is stored in a data source or that is extracted from another test, choose Parameterized in the Value field, then select the desired data source column in the box to the right of Parameterize. See Parameterizing Tests with Data Sources, Variables, or Values from Other Tests for more details about parameterizing tests.
  8. To configure the variable to use the result of a custom script, select Scripted in the Value field, then click Edit Script and specify the script details. See Extensibility and or Scripting Basics for more details about using custom scripts.
  9. If you want URL-encoding to be applied to the parameterized text before it is inserted into the larger value (either URL or Request Body) to which it belongs, ensure that the URL-encode value option is enabled.

...