Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to: Specify the Percentage of Virtual Users that Use Web Cache Data

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. For more information, see Step 2.1 - Choosing a Load Pattern in the New Load Test Wizard.

Note Note

For a full list of the load test scenario properties and their descriptions, see Load Test Scenario Properties.

The Percentage of new Users property is set in the Properties window. You edit load test scenario properties in the Load Test Editor.

The Percentage of new Users property affects the way in which the load test simulates the caching that would be performed by a Web browser. By default, the Percentage of new Users property is set to 0%. If the value for the Percentage of new Users property is set to 100%, each Web performance test run in a load test is treated like a first time user to the Web site who does not have any content from the Web site in their browser cache from previous visits. Thus, all requests in the Web test, including all dependent requests such as images, are downloaded.

Note Note

When the same cacheable resource is requested more than once in a web test, the requests are not downloaded.

If you are load testing a Web site that has a significant number of return users who are likely to have images and other cacheable content cached locally, then a setting of 100% for Percentage of new Users property will generate more download requests than would occur in real-world usage. In this case, you should estimate the percentage of visits to your Web site that are from first time users of the web site, and set Percentage of new Users property accordingly.

Requirements

  • Visual Studio Ultimate

To specify the agents to use for a scenario

  1. Open a load test.

    The Load Test Editor appears. The load test tree is displayed.

  2. In the load test trees Scenarios folder, choose the scenario node you want to specify the agents to use for.

  3. On the View menu, select Properties Window.

    The scenario's categories and properties are displayed in the Properties window.

  4. Set the value for the Percentage of new Users property by entering a number for the percentage of new users.

  5. After you have finished changing the property, choose Save on the File menu. You can then run your load test using the new Percentage of new Users value.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.