Think time in Load Testing

This document describes about ‘Thinktime’, its properties and how to change the thinktime of a request in a web performance test.

Think time is the time spent by a user perusing a Web page, including viewing the page and determining the next action. Think time does not include the time that is required for a page to load. Think times are very important during load tests because they set the pace of the test. It is important to review the recorded think times of your Web performance tests to make sure they accurately reflect realistic wait times. It is easy to be distracted during a recording session and have unexpectedly long think times that have an adverse effect on a load test. To avoid this problem, you can pause the recorder. Think time delays are used to approximate real user behavior during a load test. Because think time can dramatically affect the amount of load a Web test can generate, it can be globally disabled in a load test to apply greater load to a target server. Disabling ThinkTime allows you to issue requests to the server as fast as possible without delay between requests.

To change the think time of a request in a Web performance test:
1. Open a Test project that contains a Web performance test. 2. From the Test project, open a Web performance test. Your Web performance test opens in the Web Performance Test Editor. 3. In the Web Performance Test Editor, select the request for which you want to change the Think Time property. 4. In the Properties window, set the Think Time property to an appropriate value, in seconds. To display the Properties window, press F4. 5. On the File menu, select Save. Click the Run button to run your Web performance test in the Web Performance Test Results Viewer with the new think time.

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


Click on ‘Next’ in the ‘New Load Test wizard’ and enter appropriate name in the ‘Load test scenario’ field. If you want to use think times in some Web performance tests but not in others. open a Web performance test.Think time in Load Testing tests are used during the load test. 4. 3. To set Think time for a load test 1. Open a Test project that contains a Web performance test.It opens the ‘New Load Test wizard’. 2. 5. Your Web performance test opens in the Web Performance Test Editor. you must place them in different scenarios. It will have the below three profiles for the ‘Thinktime’ 2 . From the Test project. Right click on the Web performance Test and select ‘Load Test’ option from the ‘Add’ option.

com/en-us/library/ms182540. Do not use it when you are trying to create more realistic user interactions with a Web Provides a more realistic simulation of virtual users by slightly varying the think time between requests. but varied on a normal curve.aspx 3 . Because a load test simulates multiple users. Simulates multiple users running the Web performance tests exactly as recorded. For more information please refer to http://msdn. Use this setting when you want to generate maximum load to heavily stress your Web server. Thinktime option 'On' (Use recorded think times) Normal Distribution (Use normal distribution centered on recorded think times) Think times are used exactly as they were recorded in the Web performance test. using the same think time could create an unnatural load pattern of synchronized virtual users.Think time in Load Testing The ‘Think time Profile’ options are described in the following list: Thinktime option ‘Off' (Do not use think times) Think times are ignored. Think times are used.