Each thread is tested based on an event. Each thread is integrated and tested individually, if possible. Individual thread testing is done first. Then threads of the same event type are tested. Then the next set of threads that use the previous threads are tested for reaction to one or more events.
Stress testing works great with testing maximum workload.
Stress testing stresses the system that demands resources in abnormal quantity, frequency, or volume. For instance, the test script may increased the frequency of input data to see how the modules perform or respond to the load. Another test case would be to maximum memory usage for a process. For instance, one thousand processes are acceptable for a particular operation system but one more process will pull the operating system performance down then it has exceeded the boundary that processes can run efficiency. Capacity planners will use stress tests to stress the system out so that it can determine if more disk is needed, more memory is needed, more processes are need, or system needs to be re-architect to handle the new load.