5. After you have finished changing the property, choose Save on the File menu. You can then run your load test using the new Sample Rate value.
See also Configure load test run settings Load test scenario properties
How to: Select the active run setting for a load test 10/18/2019 • 2 minutes to read • Edit Online NOTE NOTE Select the active run setting NOTE Specify the run setting to use from the command line After you create your load test with the New Load Test Wizard , you can use the Load Test Editor to change the scenarios properties to meet your testing needs and goals. Web performance and load test functionality is deprecated. Visual Studio 2019 is the last version where web performance and load testing will be available. For more information, see the Cloud-based load testing service end of life blog post. A load test can contain one or more run settings which are a set of properties that influence the way a load test runs. Run settings are organized by categories in the Properties window. When a load test is run, it uses the run setting that is currently set as active. For a complete list of the run settings properties and their descriptions, see Load test run settings properties . If your load test contains only one run setting node under the Run Settings folder, that node is always the active node. If your load test contains multiple run settings nodes, you can select the one to use when you run a load test. See How to: Add Additional Run Settings to a Load Test . In the Load Test Editor , the active run setting is identified by the "[Active]" suffix. 1. Open a load test. 2. Expand the Run Settings folder. 3. Right-click the run settings node that you want to be the active node, and then choose Set As Active . In the Load Test Edito r, the affected run setting node is updated with the "[Active]" suffix. The run setting selected becomes active, and remains active until you select a different run setting to be active. You can override the active run setting by setting an environment variable named Test.UseRunSetting=<run setting name> . This is useful when you run a load test from the command line or from a batch file. This lets you choose different run settings without opening your load test. You can override the default run settings in your load test by setting an environment variable from the command line: Set Test.UseRunSetting=PreProdEnvironment
See also And to run the test: mstest /testcontainer:loadtest1.loadtest Configure load test run settings Specify the counter sets and threshold rules for computers in a load test How to: Add additional run settings to a load test
How to: Select a load test run setting to use from the command line 10/18/2019 • 2 minutes to read • Edit Online NOTE To change the run setting from the command line See also A load test can include run settings , which are properties that influence the way a load test runs. Run settings are organized by categories in the Properties window. When a load test is run, it uses the run setting that is currently set as active.
You've reached the end of your free preview.
Want to read all 664 pages?
- Winter '20