Testing Siebel eBusiness Applications > Develop Tests > Test Case Authoring >

Performance Test Cases


Performance testing is accomplished by simulating system activity using automated testing tools. Siebel Systems has several software partners who provide load testing tools that have been validated to integrate with Siebel 7. Automated load-testing tools are important since they allow you to accurately control the load level and correlate observed behavior with system tuning. This section describes the process of authoring test cases using an automation framework.

The first thing to document when authoring a performance test case are the key performance indicators (KPIs) that will be measured. The KPIs can drive the structure of the performance test and also provide direction for tuning activities. Typical KPIs include resource utilization (CPU, memory) of any server component, uptime, response time, and transaction throughput.

The performance test case describes the types of users and number of users of each type that will be simulated in a performance test. Figure 14 presents a typical test profile for a performance test.

Figure 14.  Performance Test Profile

Click for full size image

Test cases should be created to mirror various states of your system usage, including:

User Scenarios

The user scenario defines the type of user, as well as the actions that the user performs. The first step to authoring performance test cases is to identify the user types that are involved. A user type is a category of typical business user. Arrive at a list of user types by categorizing all users based on the transactions they perform. For example, you may have call center users who respond to services requests and call center users who make outbound sales calls. For each user type, define a typical scenario. It is important that scenarios accurately reflect the typical set of actions taken by a typical user, as scenarios that are too simple or too complex skew the test results. There is a trade-off that must be balanced between the effort to create and maintain a complex scenario and accurately simulating a typical user. Complex scenarios require more time-consuming scripting, while scenarios that are too simple may result in excessive database contention as all the simulated users attempt simultaneous access to the small number of tables that support a few operations.

Most user types fall into one of two usage patterns:

Figure 15.  Sample Test Case Excerpt With Think Time

Click for full size image

As shown in Figure 15, the user think times are specified in the scenario. It is important that think times be distributed throughout the scenario and reflect the times that an actual user takes to perform the tasks.

Data Sets

The data in the database and used in the performance scenarios can impact test results, since this data impacts the performance of the database. It is important to define the data shape to be similar to what is expected in the production system. Many customers find it easiest to use a snapshot of true production data sets to do this.


 Testing Siebel eBusiness Applications 
 Published: 21 July 2003