Application Performance Testing: A Simplified Universal Approach

22
MF "Application Performance Testing: A Simplified Universal Approach" Presented by: Scott Barber SmartBear

Transcript of Application Performance Testing: A Simplified Universal Approach

��

MF ����������

�� ���� ���������������

"Application Performance Testing: A

Simplified Universal Approach"�

Presented by:

Scott Barber

SmartBear��

����������������

��

��������������������������������� ��!���"����#��

���$�%�$�##��&�'��$�#�$�(���&�)*���+,)*�-./�&�000-)*�-./�

Scott Barber

SmartBear Chief performance evangelist for SmartBear, Scott Barber is a respected leader in the advancement of software testing practices, an industry activist, and load testing celebrity of sorts. Scott authored several books―Performance Testing Guidance for Web Applications, Beautiful Testing, How to Reduce the Cost of Testing, and Web Load Testing for Dummies―and more than 100 articles and blog posts. Founder/president of PerfTestPlus, Scott co-founded the WOPR, served as director of the AST and CMG, and is a founding member of ISST. His industry writing, speaking, and activism focus on improving the effectiveness and business alignment of software development practices. Learn more about Scott Barber. Speaker Presentations

9/22/2014

1

Managing Application Performance:

A Simplified Universal Approach

By:

Scott BarberProduct Owner – Load Testing Tools

SmartBear Software, Inc.

Revised for:

������������������� ��������������������������������������

9/22/2014

2

������������� ������������������������������������ ����������������������������

��������

�� !�������������������������������������������������������� ��������!

" #$����#$���� "�����$���!�#$����

������������������$����%�$��

#�$��������$����%�����������

�"�����������������������������������������

������� �������������� ������#�������

���$���"�� �����" ��� �����

���$���"�� ��������" ����$���" ������

%������� ���������&

9/22/2014

3

%��������� �����������"����&

���"�����������'������$�����

����

�����������(��

������"�

)��������������������������

*����"���������������"����������

%������� �����������������&��������������������

+����� ���������������� � ��� ��$"�$�������

����

�����������(��

������"�

��������������������������������� ������� ���������������

9/22/2014

4

������������,�������������&

������� �������������

���

�������������

���� ���������������"����)

9/22/2014

5

&����'�����$��� ���

������� ���� ���������)

������������������� ���������

%������-�������$�&

9/22/2014

6

&����'�����$��� ���

%�������������������������.��&

9/22/2014

7

.��������� �����������"�����/�������� !"#$%���

� 0 ��������������� �� �� �� ��

� (��� ��������#��������%)���!�������

1 �������� "���*� �������������+����

1�������������� )����������,������-�����������������������������

1�������"� ������� (��� ��������!$�����!���������������������������

1�� � ����������� ������� ��� ��� ��

� ������.���������������$��������$��

23�&���� � ���'(���� ����)�� ���'*� ��������

.��������� �����������"�����/*�� �+,������

������'��4�������������#������������ /�����������.������������������%���.��������!����

.������������"����������� ���������.���� ����$���������0���������������������0����.�����

-���������� ������5�������� "��������������.������������������!�1���������

6���7�����������8���$�� ������� (����!������������.�����������������������

.�����$����8���$�� �����������������������"�� (����.��$�����������������.���$����������.� �����!

-������������������������./����������0������

9/22/2014

8

&����'�����$��� ���

9.�����: ��� ���� +��������

• "���������!

• ��2$�����������.����

• )���!��3��������

• �$�!���

• 4�����1�"�������

• (������!

• '$���!

• 5��%�������'�����!

• 6�.��������"��!

• "���������������!

• "��$�������"�����

• ���$�����#�������

• ��������

• "��������

• 7�����"������

• (��� /�������$�����

,4#'-

• 8���� �9:

6�"� �����• 0����������"��

• 0�����������!�����

• +��������;�-��;�<������������$���"�<�-�������$���"

• �����������<����$�������

&����'�����$��� ���

9/22/2014

9

&����'�����$��� ���

���������� ���� ��������������

��� ���� ���()

���� ��")

��������� ���,

&����'�����$��� ���

4�����������'�������$����;���

#�����"����� �.����!���#�����#�����

)�. 1�����'�������$������+��/��2$����������������

������.�(����1�(�����6���������;���4������'��!���

9/22/2014

10

&����'�����$��� ���

&����'�����$��� ���

9/22/2014

11

&����'�����$��� ���

���� �����������������1.��������2��������23

FireBenchmarks; Performance testing addin for NUnit

JUnitPerf; a collection of JUnit test decorators for performance

Firefox Performance Tester's Pack

HTTPerf

9/22/2014

12

&����'�����$��� ���

����������� ���������)

9/22/2014

13

&����'�����$��� ���

&����'�����$��� ���

9/22/2014

14

����������

������������

0�������������

+������������7��������������8����������

�����8����$���"����"���

5�(�����������������������������)

%���������&

Or any other deliberate approximation of

Production ���� � ���

&����'�����$��� ���

9/22/2014

15

(/% �4

&��� ���5(�� �6�������%��� �+

���� ������ ��(�� �6�������%��� �+������

6���� ����50����7����* �����7�����'���(6%

���������� ��������� � � ���������� �������

(�� �%��� �+*��������+

,������ ������� ���5���(6%�� � �4

����488������� �� ������8 ���9���������

:-���������+��;-�����������;

��� ����+��������;<����������������������

����� �2�� � �������

������ ������ 5��;

0�����������

9/22/2014

16

������������������=����� �+������5������� �+�������� ���� ����� �����+ �����������

• � ���4 :-���������+��;<

• , ��4 :-�����������;<

• 6����4 :�������+�������;<

>������������������������� � �

�����������#������������ ������� ?�������

����� ������������� ��@��������4

>3%��������

73>���� ��������

• %������� ��������������� � ����������

• %��������������������� �����������

�37���������� ��������������������� �+

�������

%���������&

9/22/2014

17

@� (��� ��A���� ��• ���� ��������� ��• B�������������� ���1�35�� ���������� ��

!� ��������%���������+�C��� ��1%�C31D!E� �3• 6 ������������1���� ��3������1�3• ���������� ��������1���� ��3������1�3

F� %��������%�C ���(�� �6�����+1D!E� �3• C�����2������ � �� ��5�=• 6� �2�����2����� � �+��� ��5�����������

?� G=�����6�����+1D!�H���3• 6���������������� ����• >�������� ����� � ���

H� ������ ����8>�����)���1DFE� �3• &���� ���������• ���� ����������1� ������ �� �+3

I� (�����(������ 1D!E� �3• >�����1�38% ����G�������+��������1�3• ,�����#������� ����� �������

~4 hr

����������������

&����'�����$��� ���

&����'�����$��� ���

9/22/2014

18

&����'�����$��� ���

����5����������

&����'�����$��� ���

9/22/2014

19

��������

*��������&

9/22/2014

20

�������+���

��$����%�����������

/������C����J K���%��� �+%����

6����7��� 6��������&���

E-mail:

[email protected]

Blog:

scott-barber.blogspot.com

Web Site:

SmartBear.com

Twitter:

@sbarber