The Surface Stress tool enables you to test the stability and robustness of your Microsoft Surface application by delivering multiple, simultaneous contacts to your application in a random way. Surface Stress generates all four types of contacts: fingers, blobs, byte tags, and identity tags.
Surface Stress is included with Microsoft Surface SDK 1.0 SP1. By default, the Surface Stress executable file (SurfaceStress.exe) is located in the C:\Program Files\Microsoft SDKs\Surface\v1.0\Tools\SurfaceStress folder, and a shortcut to Surface Stress appears in the Start menu under the Microsoft Surface SDK entry.
Running Surface Stress
Surface Stress is a command-line application that you can run in two modes:
Random mode delivers all types of contacts to your application, with characteristics that randomly vary. For more information, see Running Surface Stress in Random Mode.
Parameterized mode enables you to specify characteristics of stress so you can more precisely control how the stress is performed. For more information, see Running Surface Stress in Parameterized Mode.
When Surface Stress runs, it connects to the Surface Simulator tool and delivers contacts to the current application.
Debugging Stress Failures
When you run Surface Stress, it checks for the presence of an Auto-Execute (AE) debugger and a .NET Just-In-Time (JIT) debugger. If one of these debuggers is missing, Surface Stress displays a warning. Surface Stress requires an AE debugger to diagnose stress failures that occur in native code and it requires a JIT debugger to diagnose stress failures that occur in managed code.
For more information about how to debug applications, see the following articles on the MSDN Web site:
Re-Creating the Stress Run
Every time that you run Surface Stress, it creates a configuration file that specifies the parameters of the stress run. You can use parameterized mode to run stress again at another time with the same parameters. The file is created with a unique name in your user profile folder; the exact file name is displayed when you run Surface Stress.