Editing Think Times to Simulate Web Site Human Interaction Delays in Load Tests Scenarios
Think times are used to simulate human behavior that causes people to wait between interactions with a Web site. Think times occur between requests in a Web performance test and between test iterations in a load test scenario. Using think times in a load test can be useful in creating more accurate load simulations. You can change whether think times are used or ignored in load tests. You change whether think times are used in your load tests in the Load Test Editor.
The think profile is a setting that applies to a scenario in a load test. The setting determines whether the think times that are saved in the individual Web performance tests are used during the load test. If you want to use think times in some Web performance tests but not in others, you must place them in different scenarios. For more information about scenarios, see Editing Load Test Scenarios Using the Load Test Editor.
Initially, you set whether you use think times in your load tests when you create the load test using the New Load Test Wizard. For more information, see Editing Load Test Scenarios Using the Load Test Editor.
Requirements
-
Visual Studio Ultimate
The Think Profile options are described in the following list:
Note
|
|---|
|
For a complete list of the load test scenario properties and their descriptions, see Load Test Scenario Properties. |
To change a think profile in a load test scenario
-
From the Web performance and load test project, open a load test.
For more information about how to create a Web performance and load test project, see How to: Create and Configure Test Projects for Automated Tests.
For more information about how to create a load test, see Creating and Editing Load Tests.
-
In the Load Test Editor, choose the scenario node where you want to change the Think Profile. The Think Profile is displayed in the Properties window. Press F4 to display the Properties window.
-
Change the Think Profile property in the Properties window.
-
After you have finished changing the properties, choose Save on the File menu. You can then run your load test with the new think profile.
Note