Modular Stress Test

The Modular Stress Test provides an environment where parts of a Microsoft® Windows® CE–based platform are exercised for an extended period of time. The Modular Stress Test verifies that a component is functionally stable after prolonged use. The Modular Stress Test may help you to identify whether a component leaks memory, crashes, hangs, or fails to function after extended continuous operation.

In addition, the Modular Stress Test verifies that components interact appropriately with one another in arbitrary combinations and may help you to identify whether components deadlock, time out, or fail to function when competing for resources.

The Modular Stress Test is comprised of a harness and a collection of test modules. For information about the harness, see Modular Stress Test Harness. The harness runs the test modules in random sequence in a loop for an arbitrary length of time.

The test modules perform the testing. Each set of modules that Microsoft provides with the Modular Stress Test can test a specific functional area of the operating system (OS), such as the file system or Message Queuing (MSMQ). Each test module performs a number of tests on the targeted component. The tests may include simple calls to an application programming interface (API) or may simulate a scenario that a user of the component might encounter.

The following table shows the software requirements for the Modular Stress Test.

Requirement Description
Oemstress.exe Modular Stress Test harness.
Oemstress.ini Initialization file for the test harness.
StressUtils.dll Module that exports functions that are called by the test modules.
Stressmod.exe Container that manages command-line parsing, module duration, and results recoding and reporting.
Test modules A collection of test modules to be run by the harness.
Microsoft Internet Explorer® 6.0 for Windows CE Internet browser.
Toolhelp.dll Optional. Include this module in the Windows CE OS for the target device if you want to run the kernel debugger while running the Modular Stress Test.

Note   When you run the Modular Stress Test, the CETK temporarily copies files to the root directory of the target device. While the test runs, the test dynamically consumes program memory on the target device. Before running the test, verify that there is at least 3.0 megabytes (MB) of free storage memory on the target device. Verify that there is 0.5 MB of free program memory to run the harness. Verify that there is also enough free program memory on the target device to run the test modules. The test modules provided by Microsoft use as much as 10 MB of program memory on an average overnight run with four random concurrent modules. These memory requirements are estimates. The amount of memory required on the target device depends largely on the behavior of the test modules that you choose to run.

See Also

Modular Stress Test Command-Line Options | Running the Modular Stress Test | Custom Module Creation for the Modular Stress Test

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.