Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.



Performance Testing Basics

furqan naqvi

on 28 August 2012

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of test

Testing Monitoring Test Lab WorkLoad basics Next Steps.. Performance testing tools
HP Load Runner
Rational Performance Tester
Microsoft VSTS
Performance Test Scripting
Performance Monitoring tools
HP Diagnostics
CA Wily
Performance Reports why what is performance testing (PT)?
why do we need it?
Types of Performance Testing
Performance Testing LAB
Next Steps
Q & A "Performance Testing is the discipline concerned with determining and reporting the current performance of a software application under various parameters...." what? users network firewall + load balancer web servers application servers db Software Environment Landscape Verifying performance requirement defined in SLA

Determining capacity of existing system

Creating benchmarks for existing systems

evaluating degradation with various loads and/or configurations types load test stress test Objective is to get the insight into the performance of the system under normal load The application is stressed with unrealistic load to understand the behavior of the application in the worst case scenario approach scalability stability Scalability is the capacity of an application to deal with an increasing number of users or requests without degradation of performance. Scalability is a measure of application performance The stability (or reliability) of an application indicates its robustness and dependability. Stability is the measure of the application’s capacity to perform even after being accessed concurrently by several users and heavily used. Performance
Terminology Scenario Workload Operation profile Benchmark Baseline Concurrency Think time Responce Time Reaction Time Turnaround time Streach factor Throughput Bandwidth Latency User Starts
Request User Finishes
Request System Starts
execution System Starts
Response System Completes
Response User Starts
Request Reaction
Time Response
Time Think
Time what to monitor ? Software Performance Hardware Performance operating system
application code
configuration of servers cpu
network why Performance Counters?? They allow you to track
performance of your application.. Types of Performance Counters?? Client Side Response Time
Pass/Fail Stats Server Side CPU - % User Time,%Processor Time, Queue Length

Memory - Available & Committed Bytes

Network - Bytes Sent/Sec, Received/sec

Disc - Read Bytes/Sec, Write Bytes/ Sec It explains how typical users will use the system once it goes in production Types Of WorkLoads Minimal Load
Normal Load
Extreme Load Work Load Models Steady State Scenarios What & How?? Performance Test Lab Virtual Users
Load Generator
Probes Sequence of steps in the application under test.
Decide on the business flows that needs to be run
Decide on the mix of the business flows in a test run
Decide on the order of the test scripts that need to be started
Decide on the ramp up for each business flow and test run duration

searching a product catalog It is a mix of demands placed on AUT

Number of concurrent users
Data Volumes
Number of Transactions Parameters of workload:

No of Users
Rate of requests
Pattern of requests load Elapsed Time Number of Users : 200 simultaneous users
Test Duration : 2 hrs
Think Time : Random thinktime b/w and 10 secs in test script after each operation
background processes: Anti virus software running on test environment Sample Workload Profile of a web application User Scenarios Percentage of users Number of Users browse search buy commodity 55 110 70 20 35 10 total 100 200 Increasing State load Elapsed Time Dynamic State load Elapsed Time What
what is a scenario?

Sequence of steps in the application under test and it
Decide on the business flows that needs to be run
Decide on the mix of the business flows in a test run
Decide on the order of the test scripts that need to be started
Decide on the ramp up for each business flow and test run duration

searching a product catalog How it is configured?

The load generators and test scripts (user groups) for a scenario should be configured so that the scenario accurately emulates the working environment.
The Runtime settings and test system/application configuration can be changed for creating different scenarios for the same workload profile Occurrence of 2 or more events at the same instant of time
More than one user performing same transaction List of demands with frequency of use Standard workload or accepted industry wide Measurement of an existing system performance Think time is the time spent by the user between two consecutive requests. Interval between user’s request and the system response Time between submission of a request and the beginning of its execution by system Time between the submission of a batch job and the completion of its output The ratio of response time at a particular load to that at the minimum load Rate at which the requests can be serviced by the system
Batch streams
Jobs /sec
Interactive systems
Requests /sec
Million Instructions/sec (MIPS)
Million Floating-Point operations per sec
Packets per second or bits per second
Transaction processing
Transaction per second A measure of the amount of data that can travel through a network Latency is a synonym for delay, it is an expression of how much time it takes foe a packet of data to get from one point to another.
Full transcript