load & performance testing
TRANSCRIPT
Company Confidential
Load Testing Guido Serra Nokia Berlin
•
We are hiring!
About us
Why did it broke?
src: http://turbo.inquisitr.com/wp-content/2010/06/twitter-outage-june-15.jpg
As QA, act like Cassandra…
src: http://en.wikipedia.org/wiki/File:Trojan_women_cassandra.jpg
USER BEHAVIOUR MODEL Create a...
5 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
MAP/REDUCE ? Or dig the logs...
6 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
DIVIDE ET IMPERA Go through „test highlighted“ components...
7 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
SINGLE COMPONENT TESTING
Dive into the root cause...
8 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
FUNCTIONAL Acceptance, regression testing and monitoring
9 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
NON-FUNCTIONAL Load and performance testing
10 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
RUSH HOUR NIGHTMARE Ramp up tests
11 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
HOW LONG WILL IT SURVIVE? Stability tests
12 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
WHO‘S TAKING SO LONG? Controlled environment
13 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
METRICS! Garbage collector, net&disk I/O, CPU
14 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
DON‘T ADD MORE MACHINES! The load testing software needs to scale properly...
15 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
GRINDER, ON SOURCEFORGE Reuse Junits, small adaptation... u can do L&P testing
16 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
ACTIVEMQ, LDAP, JDBC, ... What can I do with Grinder? Test whatever has a Java client...
17 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
„HTTP QUALITY ASSURANCE TOOLKIT“ ...GRINDER BASED
Why not standardize to the HTTP protocol? Maybe with config files!
18 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
HTTP-QAT: WHAT CAN IT DO? Statistically distributed scenario for L&P, or monitoring with Nagios
19 © 2010 Nokia DevOpsDays.org / 2010-09-15 / Guido Serra
Company Confidential
Thanks! http://http-qat.sf.net http://grinder.sf.net