Planning Load Test Steps: •Analyzing the Application (AUT) •Defining Testing Objectives •Planning LoadRunner Implementation •Examining Load Testing Objectives
Plan Load Test •Build test scenarios that accurately emulate your working environment. Load testing means testing your application under typical working conditions, and checking for system performance, reliability, capacity. •Understand which resources are required for testing. Application testing requires hardware, software, and human resources. •Define success criteria in measurable terms. Focused testing goals and test criteria ensure successful testing.
Analyzing AUT •Identify System Component: Draw a schematic diagram to illustrate the structure of the application. •How many clients are connected to the server? •What is the client machine configuration? (hardware, memory, operating system, software, development tool, etc.) •What type of server is used? (hardware, database type, operating system, file server etc.) •How does the server communicate with the client? •Is there a middleware or application server between the front-end client and back-end server? •What is the middleware configuration? •What other network components may affect response time? (modems etc.) •What is the throughput of the communications devices? How many concurrent users can each device handle?
Define Testing Objectives
Define Vuser Activities & Behavior •Create Vuser scripts based on your analysis of Vuser types, their typical tasks and your test objectives. Since Vusers emulate the actions of a typical end-user, the Vuser scripts should include the typical end-user tasks. •For example, to emulate a manager, you should create a Vuser manager script that performs typical manager tasks.
Select Vuser types
Load Testing Objectives •Measuring end-user response time •Defining optimal hardware configuration •Checking reliability •Checking hardware or software upgrades •Evaluating new products •Identifying bottlenecks •Measuring system capacity
Measure Response Time
Measuring AUT Capacity
Reliability Testing Determine the level of system stability under heavy or continuous work loads. You can use LoadRunner to create
stress on the system: force the system to handle extended activity in a compressed time period to simulate the kind of activity a system would normally experience over a period of weeks or months.
Identify Bottlenecks •Questions?