Server Performance by Tonny

176 views
154 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
176
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Server Performance by Tonny

  1. 1. @agatestudio Server Performance Test Tony Publishing Agate Studio
  2. 2. 2014/03/15 BANDUNG DIGITAL VALLEY Tonny K Agate Studio tonny.kusdarwanto@agategames.com
  3. 3.  Introduction  PerformanceTest  AutomatedTesting  Introduction to Jmeter  Test Plan  Thread Group  Sampler  Listener  HowTo  Web Server PerformanceTest  View Result
  4. 4. PerformanceTesting is a type of testing that intended to determine :  responsiveness  reliability  throughput  Interoperability  scalability of a system and/or application under a given workload
  5. 5.  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  TakeToo much time
  6. 6.  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
  7. 7.  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
  8. 8. ATest 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  ….
  9. 9.  controls the threads that will be created to simulate simultaneous users.
  10. 10.  Samplers Allow JMeter to send specific types of requests to a server. Ex: Http Request, JDBC Request,TCP Sampler, etc…
  11. 11.  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
  12. 12. 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.
  13. 13. 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
  14. 14. 1. Download & Run Jmeter 2. AddThread Group 1. Set Number ofThread (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 ▪ HowTo Play : /season5/ 5. Add Listener (ex: Agregate Graph) 6. Save & RunTest Plan 7. View Result
  15. 15. THANKYOU

×