VuGen使用---简介
The Planning Phase
1. Load Test Planning (should be completed before you start recording)
1.1 Define goals
1.2 Analyze system
1.3 Gather system usage data
2. Virtual User Creation
2.1 Record script and turn scripts into Vusers by adding test data and user behaviors
3. Scenario Creation (A scenario is a file that defines the scripts to excute, the number of Vusers to run, the goals of the test, the computer that will host the Vusers, and the conditions under which to run the load test)
3.1 Create scenarios based on your goals
4. Scenario Execution
4.1 Execute load tests for testing first, running 100% and overloading
5. Results Analysis (could help indenfify bottlenecks)
Tweek Application under Test Based on Analysis
Scenario execution involves:
1. Debug Run
2. Isolate Top Time Transactions
3. Full Load Test
4. Scalability Test
Steps Involved in Creating a script:
1. recording user actions
2. Adding LoadRunner Transactions
3. Parameterizing input data
4. Adding verification checks
5. Correlating reused data
6. Verifying correct execution of the script
How to make plan for Business Processes
% Documenting User steps and input data
% Documenting Business Processes to Measure
上面的e文应该比较容易理解