How to prepare a script to run each scenario with the number of types of users concurrently playing back to give you a the load scenario?
Using the load test tool, write the scripts to run each scenario with the number of types of users concurrently playing back to give you a the load scenario. The key elements of a load test design are :
> Test objective
> Pass/fail criteria
> Script description
> Scenario description
Load Test Objective : The objective of this load test is to determine if the Web site, as currently configured, will be able to handle the X number of sessions/hr peak load level nticipated. If the system fails to scale as anticipated, the results will be analyzed to identify the bottlenecks.
Pass/Fail Criteria : The load test will be considered a success if the Web site will handle the target load of X number of sessions/hr while maintaining the pre defined average page response times. The page response time will be measured and will represent the elapsed time between a page request and the time the last byte is received. Since in most cases the user sessions follow just a few navigation patterns, you will not need hundreds of individual scripts to achieve realism, if we choose carefully, a dozen scripts will take care of most Web sites.