server performance by tonny

16
@agatestudio Server Performance Test Tony Publishing Agate Studio

Upload: agate-studio

Post on 26-Dec-2014

79 views

Category:

Education


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Server Performance by Tonny

@agatestudio

Server Performance Test

Tony

Publishing

Agate Studio

Page 2: Server Performance by Tonny

2014/03/15 BANDUNG DIGITAL VALLEY Tonny K Agate Studio [email protected]

Page 3: Server Performance by Tonny

Introduction Performance Test Automated Testing

Introduction to Jmeter Test Plan Thread Group Sampler Listener

How To Web Server Performance Test View Result

Page 4: Server Performance by Tonny

Performance Testing is a type of testing that intended to determine :

responsiveness reliability throughput Interoperability scalability

of a system and/or application under a given workload

Page 5: Server Performance by Tonny

Test automation is the use of software to control the execution of tests …

Why do I need to automate testing?

Manual test cost too much

Take Too much time

Page 6: Server Performance by Tonny

Zero acquisition cost Platform Independent Performance test of different server types

HTTP/HTTPS,SOAP

Database

FTP, LDAP, mail, …

GUI / Non-GUI HTTP proxy recording server Highly extensible

Page 7: Server Performance by Tonny

Apache Project First developed by Stefano Mazzocchi designed to test and measure the

performance and functional behavior of client/server applications

one of the most widely used open-source 100% Java-based

Page 8: Server Performance by Tonny

A Test Plan defines and provides a layout of how and what to test

Element Of Test Plan: Thread Group

Controlloer

▪ Sampler

▪ Logic Controller

Configuration Element

Listener

….

Page 9: Server Performance by Tonny

controls the threads that will be created to simulate simultaneous users.

Page 10: Server Performance by Tonny

Samplers Allow JMeter to send specific types of requests to a server. Ex: Http Request, JDBC Request, TCP Sampler, etc…

Page 11: Server Performance by Tonny

Logic Controllers These allow you to customize the logic that JMeter uses to decide when to send requests. Ex: Loop Controller, Once Only Controller, Random Controller

Page 12: Server Performance by Tonny

Configuration Elements allow you to create defaults and variables to be used by Samplers. They are used to add or modify requests made by Samplers.

Page 13: Server Performance by Tonny

Listeners let you view the results of the Samplers in the form of tables, graphs, trees or simple text in some log files. Ex: Agregate Report Agregate Graph Summary Report

Page 14: Server Performance by Tonny

1. Download & Run Jmeter 2. Add Thread Group

1. Set Number of Thread (ex: 100)

2. Set Ramp-Up Period (ex: 1)

3. Set LoopCount (ex: 1) 3. Add Configuration Controller (Ex: HTTP Request Default)

1. Set Default Server Name or IP (ex: sengokuixa.co.id) 4. Add Sampler (Ex: 3 HTTP Request)

1. Set Path, Method, parameter to send if exists ▪ Home Page : /

▪ Intro : /season5/introduction.php

▪ How To Play : /season5/

5. Add Listener (ex: Agregate Graph) 6. Save & Run Test Plan 7. View Result

Page 15: Server Performance by Tonny
Page 16: Server Performance by Tonny

THANK YOU