View
70
Download
3
Category
Preview:
DESCRIPTION
Citation preview
@agatestudio
Server Performance Test
Tony
Publishing
Agate Studio
2014/03/15 BANDUNG DIGITAL VALLEY Tonny K Agate Studio tonny.kusdarwanto@agategames.com
Introduction Performance Test Automated Testing
Introduction to Jmeter Test Plan Thread Group Sampler Listener
How To Web Server Performance Test View Result
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
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
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
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
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
….
controls the threads that will be created to simulate simultaneous users.
Samplers Allow JMeter to send specific types of requests to a server. Ex: Http Request, JDBC Request, TCP Sampler, etc…
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
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.
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
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
THANK YOU
Recommended