Title: LoadRunner Monitoring Tools
1LoadRunner Monitoring Tools
- ???
- bskim_at_kbscom.co.kr
- ?????????(?)
2Where is the bottleneck?
3Agenda
- Definition of problem
- Using the Transaction Breakdown facility
- Using the Network Monitor
- Using the Resource Monitor
4Definition of Problem
- Transaction timings indicate that a problem
exists but does not tell where the problem lies
5Load Testing Process
6Possible Bottlenecks
- Application
- Network
- Server Machine
7LoadRunner 4.5x
LoadRunner
8LoadRunner 5.x
LoadRunner
9Transaction Breakdown
- Currently available only for 2-tier Oracle
- Gives a general idea of where the problem lies
- Breaks transaction into 5 elements
- Network Client
- CPU
- I/O
- Database locks
- Other
10Enabling Transaction Breakdown
- Install LoadRunner agent on Oracle Server
- Enable transaction breakdown option in the
controller - Run Scenario
- Analyze results
- Click transaction breakdown option on the toolbar
11Enabling Transaction Breakdown(2)
12Transaction Breakdown Graphs
- Percentile
- Performance Under Load
- Transaction Performance
13Transaction Breakdown Example
14Locking Indicates Application Problem
Developer
15Fix DB Locking Problem
- Programmer can modify code to prevent locking
- Enable transaction breakdown facility
- Rerun scenario
- Analyze results
16Is Locking Problem Fixed?
17Network Time Not Acceptable
Network Admin
18Network Monitoring
- Determine if network is causing delay
- Determine problematic node
19Network Monitoring Elements
- Path delay
- Segment delay
- Timeouts
- Path delay under load
- Segment delay under load
20Enabling Network Monitoring
- Not necessary to install LoadRunner
- Enable Network Monitoring option
- Run Scenario
- Analyze results
21Enabling Network Monitoring(2)
22Determine the Problem Segment
23Fix Network Problem
- Make any network changes
- Rerun scenario
- View Networking Monitor and Transaction Breakdown
results
24Is Network Problem Fixed?
25Resource Monitor
- Monitors machines resources during scenario run
- Displays these resources in real time
- NT measurements correspond to those available
from the NT Performance Monitor - Unix measurements correspond to those available
from the rstat daemon
26Example Measurements
- CPU Utilization
- Paging
- Swapping
- Inbound/Outbound packet rate
27Selecting Monitors
28Selecting Monitors (2)
29Server Monitor Example
30Resource Monitor Graphs
- measurement information
- measurement under load
31Resource Monitor Graphs(2)
32Summary
- Run a scenario
- Analyze results
- If results ok - done
- If not ok
- Use transaction breakdown to pinpoint problem
- Use network resource monitors to further
analyze the problem - Fix problem
- Go back to step one
33Questions?