21
Diamond Sponsors Platinum Sponsors Gold Sponsors Training Partners Media Partners

Performance soapui siege_last

  • Upload
    cdnaro

  • View
    154

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Performance soapui siege_last

Diamond Sponsors

Platinum Sponsors Gold Sponsors

Training Partners Media Partners

Page 2: Performance soapui siege_last

Performance Testing with

SoapUI and Siege

Diana Cârciu

SoftVision

10th of November 2012

Page 3: Performance soapui siege_last

Performance Testing

Why?

What?

How?

Page 4: Performance soapui siege_last

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

Why Performance Testing?

Speed

Scalability

Stability

Page 6: Performance soapui siege_last

Speed

Does the application respond quickly

enough for the intended users?

How do we measure?

Responsiveness

User experience

Page 7: Performance soapui siege_last

Scalability

Will the application handle the

expected user load and beyond?

How do we measure?

Load

Capacity

Volume

Page 8: Performance soapui siege_last

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

What is Performance Testing?

Speed

Scalabilit

y

Stability

Load testing

Stress testing

Endurance testing

->

Page 10: Performance soapui siege_last

Load Testing

Progressively

Concurrent users

Response time

Page 11: Performance soapui siege_last

Stress Testing

Upper limits

“That’ll never happen in

production”

….but it does

Page 12: Performance soapui siege_last

Endurance Testing

Continuous expected load

Tests ran long time

Emergent behaviors

Page 13: Performance soapui siege_last

How to conduct Performance

Tests?

Performance key points

Performance Test Plan (how much load?)

Choose tools

Page 14: Performance soapui siege_last

Performance key points

Concurrency/Throughput (Transaction Rate)

Server Response Time

Server Resources Monitoring

Page 15: Performance soapui siege_last

Performance Test Plan (how much load?)

Transactions

Schema

Three situations

Page 16: Performance soapui siege_last

Tools – 2 case studies

SoapUI – testing

Web-Service based

Application Performance

Siege – Web site

load testing

Page 17: Performance soapui siege_last

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

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

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

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

Page 21: Performance soapui siege_last

Thank you!

Please fill the evaluation form!

[email protected]