1. Terminology
Throughput: Flow through the system under test per unit time, unit (b/s)
Server language: JSP (Java Server Pages)-tomcat ASP (Action Server pages)-lls PHP (hypertext Preprocessor)-apache
Concurrency: Multiple simultaneous operations
CTR: The number of HTTP requests that the client sends to the server in unit time (s)
Stability test (Reliability test): continuous operation of the system under test, to see the stability of the system operation, the general use of 24*7 way to make the system uninterrupted operation
Load test: Allows the tested system to run continuously within the tolerable pressure range to see the stability of the system
Stress testing: Continuously increases the pressure on the system until the system is crushed to test the maximum pressure that the system can withstand
2.LR is divided into: Visual User Generator, Controller, analysis
Script Builder: Record Debug Script scene controllers: Generate scenes with scripts, execute scenes, and monitor results in a scene analyzer: Analyzing monitoring metrics results
3. Process for performance testing using LR: Test plan-record test script-Create run scenario-run test-monitor scene-Analyze test results
4. Editing scripts include insert transaction (transaction), insert collection point (Rendezvous), insert Comment (comment), insert checkpoint, insert function, script Parameterization, association, and more
Note: 1. Transaction and rendezvous can be inserted at the same time, no order required; 2.rendezvous can only be inserted into the action section, User_init and User_end cannot be inserted in the collection point
5.controller: Components for designing and executing scenarios for performance testing
Key monitoring metrics: CPU utilization, available memory capacity, and the amount of CPU resources consumed by the service thread
Ramp up: Set policy for virtual user to stop
Start all vusers simultaneously stop all users at the same time
Beginner LoadRunner Notes