LoadRunner Monitoring Tools 김범수 한국비지네스써비스 ( 주 )
Where is the bottleneck?
Agenda Definition of problem Using the Transaction Breakdown facility Using the Network Monitor Using the Resource Monitor
Definition of Problem Transaction timings indicate that a problem exists but does not tell where the problem lies
Load Testing Process Run Scenario Analyze Results Results OK? Pinpoint Problem Fix Problem Done Yes No
Possible Bottlenecks Application Network Server Machine
LoadRunner 4.5x LoadRunner 3rd Party Tools
LoadRunner 5.x LoadRunner
Transaction 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
Enabling 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
Enabling Transaction Breakdown(2)
Transaction Breakdown Graphs Percentile Performance Under Load Transaction Performance
Transaction Breakdown Example
Locking Indicates Application Problem Developer
Fix DB Locking Problem Programmer can modify code to prevent locking Enable transaction breakdown facility Rerun scenario Analyze results
Is Locking Problem Fixed?
Network Time Not Acceptable Network Admin
Network Monitoring Determine if network is causing delay Determine problematic node
Network Monitoring Elements Path delay Segment delay Timeouts Path delay under load Segment delay under load
Enabling Network Monitoring Not necessary to install LoadRunner Enable Network Monitoring option Run Scenario Analyze results
Enabling Network Monitoring(2)
Determine the Problem Segment
Fix Network Problem Make any network changes Rerun scenario View Networking Monitor and Transaction Breakdown results
Is Network Problem Fixed?
Resource Monitor Monitors machine’s 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
Example Measurements CPU Utilization Paging Swapping Inbound/Outbound packet rate
Selecting Monitors
Selecting Monitors (2)
Server Monitor Example
Resource Monitor Graphs “measurement” information “measurement” under load
Resource Monitor Graphs(2)
Summary 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
Questions?