Performance soapui siege_last
Transcript of Performance soapui siege_last
![Page 1: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/1.jpg)
Diamond Sponsors
Platinum Sponsors Gold Sponsors
Training Partners Media Partners
![Page 2: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/2.jpg)
Performance Testing with
SoapUI and Siege
Diana Cârciu
SoftVision
10th of November 2012
![Page 3: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/3.jpg)
Performance Testing
Why?
What?
How?
![Page 4: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/4.jpg)
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.”
![Page 5: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/5.jpg)
Why Performance Testing?
Speed
Scalability
Stability
![Page 6: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/6.jpg)
Speed
Does the application respond quickly
enough for the intended users?
How do we measure?
Responsiveness
User experience
![Page 7: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/7.jpg)
Scalability
Will the application handle the
expected user load and beyond?
How do we measure?
Load
Capacity
Volume
![Page 8: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/8.jpg)
Stability
Is the application stable under expected and unexpected user loads? (AKA Robustness)
How do we measure?
Consistency
Reliability
Stress
![Page 9: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/9.jpg)
What is Performance Testing?
Speed
Scalabilit
y
Stability
Load testing
Stress testing
Endurance testing
->
![Page 10: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/10.jpg)
Load Testing
Progressively
Concurrent users
Response time
![Page 11: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/11.jpg)
Stress Testing
Upper limits
“That’ll never happen in
production”
….but it does
![Page 12: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/12.jpg)
Endurance Testing
Continuous expected load
Tests ran long time
Emergent behaviors
![Page 13: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/13.jpg)
How to conduct Performance
Tests?
Performance key points
Performance Test Plan (how much load?)
Choose tools
![Page 14: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/14.jpg)
Performance key points
Concurrency/Throughput (Transaction Rate)
Server Response Time
Server Resources Monitoring
![Page 15: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/15.jpg)
Performance Test Plan (how much load?)
Transactions
Schema
Three situations
![Page 16: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/16.jpg)
Tools – 2 case studies
SoapUI – testing
Web-Service based
Application Performance
Siege – Web site
load testing
![Page 17: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/17.jpg)
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.
![Page 18: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/18.jpg)
SoapUI
A java-based web service testing tool
Used for inspecting, invoking, developing,
simulating, mocking and load-testing web
services
![Page 19: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/19.jpg)
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
![Page 20: Performance soapui siege_last](https://reader034.fdocuments.in/reader034/viewer/2022042700/559bd5111a28abf2558b4640/html5/thumbnails/20.jpg)
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