MSF for Agile Software Development Visual Studio 2005 Team System logo

Activity:

Write Stress Tests

Participating Roles

Responsible:

Tester

Overview

Entry Criteria

    Dependencies:

    • A test task is assigned to perform a stress test.

    Sub-Activities

    1

    Understand the Objective of the Test

    • The objective of the stress test must be understood and the outcome of the test expressed in concrete terms such as an acceptable range of values.

    2

    Design the Automated Test

    • Map out the test environment, test conditions including prerequisites, the number of virtual users, scenario being timed, and resources to be monitored. Understand the distribution of activities and simultaneous scenarios.
    • Create stress test scenarios.
    • Within a stress test scenario, create the test mix, load profile, and simulated environment.
    • The test mix is comprised of the tasks that are performed and the frequency of the tasks. Do not insert think times or delay between tasks.
    • In the load profile, determine how many users are tested in a constant or stepped load.
    • Determine the simulated environment such as the network emulation speed and types of browsers used.
    • Add any unit tests to simulate additional load. This is the unit test under load.

    3

    Write the Test

    • Record the steps that users perform. Include validations to check that results returned are accurate under stress. Use data binding to make the tests dynamic using a .NET data source such as SQL Server, Microsoft Excel, or Microsoft Access.
    • Place the test in the test folder of the stress quality of service requirement. Create a test folder if it does not exist, naming it the same name as the quality of service requirement.
    • Check in the test.

    Exit Criteria

    The stress tests written have been reviewed and checked in.

    The stress tests verify that the quality of service requirements are met.

    © 2006 Microsoft Corporation. All rights reserved.

    Version 4.1.0