SOAtest web scenarios (, including tests that are automatically-generated tests added when you record from a browser as well as and tests manually - added with the Browser Playback Tool tests) tool, are designed to be run in a browser. Since load Load tests, however, don’t run in a browser. As a result, some configuration is necessary to reuse functional web tests in a load testing environment—where web tests are conducted by sending requests to the server.
Parasoft SOAtest automatically configures your browser-based functional tests for load testing. It also validates them by executing them in a simulated load testing environment. This significantly reduces the setup required to create meaningful web load tests, and helps you to identify and resolve any potential load test issues before the load testing efforts actually begin.
...
Recommended Preparation Procedure
The recommended procedure is to We recommend that you configure your tests for load testing as described in Configuring Tests, then validate and validate that they will work properly as described in Validating Tests.
...
The Load Test perspective is designed to help you prepare your web scenarios for load testing. To open the Load Test perspective: Choose Window> Perspective> Open Perspective> Parasoft Load Test to open the Load Test perspective.
This perspective is similar to the SOAtest perspective, but it also provides the following features:
...
For details about parameterizing values, see Parameterizing Tests with Data Sources, Variables, or Values from Other Tests.
For details about scripting values, see Extensibility and or Scripting Basics.
With fixed values, you can access data source values using
${var_name}
syntax. You can also use the environment variables that you have specified. For details about environments, see Configuring Testing in Different Environments
...
- Double-click the test in the Load Test Explorer (available in the Load Test perspective) to open its configuration panel.
- Select the specific request whose values you want to parameterize.
- 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.
- Click Parameterize Selected Text.
- 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.
- 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.
- 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.
- 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.
- 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.
...