Upload
cdnaro
View
154
Download
0
Tags:
Embed Size (px)
Citation preview
Diamond Sponsors
Platinum Sponsors Gold Sponsors
Training Partners Media Partners
Performance Testing with
SoapUI and Siege
Diana Cârciu
SoftVision
10th of November 2012
Performance Testing
Why?
What?
How?
Why Performance Testing?
“A business in today’s digital
culture needs to make sure that
its website is working hard for the
business and not against it.”
Why Performance Testing?
Speed
Scalability
Stability
Speed
Does the application respond quickly
enough for the intended users?
How do we measure?
Responsiveness
User experience
Scalability
Will the application handle the
expected user load and beyond?
How do we measure?
Load
Capacity
Volume
Stability
Is the application stable under expected and unexpected user loads? (AKA Robustness)
How do we measure?
Consistency
Reliability
Stress
What is Performance Testing?
Speed
Scalabilit
y
Stability
Load testing
Stress testing
Endurance testing
->
Load Testing
Progressively
Concurrent users
Response time
Stress Testing
Upper limits
“That’ll never happen in
production”
….but it does
Endurance Testing
Continuous expected load
Tests ran long time
Emergent behaviors
How to conduct Performance
Tests?
Performance key points
Performance Test Plan (how much load?)
Choose tools
Performance key points
Concurrency/Throughput (Transaction Rate)
Server Response Time
Server Resources Monitoring
Performance Test Plan (how much load?)
Transactions
Schema
Three situations
Tools – 2 case studies
SoapUI – testing
Web-Service based
Application Performance
Siege – Web site
load testing
Siege
Linux based tool
Simple, easy to use, but powerful
Used for web load testing
Supports basic authentication, HTTP and
HTTPS protocols
Can be used test a Windows server.
SoapUI
A java-based web service testing tool
Used for inspecting, invoking, developing,
simulating, mocking and load-testing web
services
Server monitoring
Users Time
run/min
CPU% Memory
private (KB)
Network bytes/sec
Tomcat Tomcat Mean Max
1000 15 18.2 1,096,024 661,634 11,860,523
2000 15 29.6 1,246,924 1,042,553 7,420,530
Performance Monitor statistics
Where to go for more information
- http://www.perftestplus.com/resources.htm
- Scott Barber presentations
- http://www.soapui.org
- http://www.joedog.org/siege-home
- Web Load Testing for Dummies - Scott
Barber
- http://technet.microsoft.com/en-
us/library/cc749249.aspx