1 / 17

Automation Testing tool that can be used in software engineering course

Automation Testing tool that can be used in software engineering course. Ran Shi 04/29/2011. Why use automated performance testing tools?.

elana
Download Presentation

Automation Testing tool that can be used in software engineering course

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Automation Testing tool that can be used in software engineering course Ran Shi 04/29/2011

  2. Why use automated performance testing tools? • There is no way to manually test the way a Web application performs under the stress of hundreds of users until it is deployed on a public Web server. However, there are some tools that can help.

  3. Automated Performance Testing Tools • Commercial - LoadRunner, Rational Robot, QALoad, SilkPerformer • Open Source - Apache JMeter, OpenSTA

  4. Apache JMeter • Apache JMeter is open source software, a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has expanded to other test functions.

  5. What can it do? • It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. • Users can use it to make a graphical analysis of performance or to test their server/script/object behavior under heavy concurrent load.

  6. Apache JMeter Features • It can test many different server types; • Complete portability and 100% Java purity; • The full multithreading framework allows concurrent sampling by many threads and simultaneous different functions sampling by separating thread groups; • Its careful GUI design allows faster operation and more precise timings; • Caching and offline analysis/replaying of test results.

  7. Adding Users Thread Group

  8. Users Thread Group (cont.) • Thread Group tells JMeter the number of users that want to simulate, how often the users send requests and how many requests they send. • Number of Threads: the number of users. • Ramp-Up Period: how long to reach the maximum test stress. • Loop Count: how many times to repeat the test.

  9. Adding Default HTTP Request Properties

  10. Adding HTTP Requests

  11. Apache JMeter Graph Results

  12. Apache JMeter Graph Results (cont.) • Samples: the number of requests. Sample= Number of Threads * Loop Count. • Average: the average response time • Median: 50% users response time • Throughput: the number of Requests/Minute the server handled.

  13. Apache JMeter Graph Results (cont.) • The Graph Results listener generates a simple graph that plots all sample times. • Users can increase the number of threads to discover their server’s maximum throughput.

  14. SplineVisualizer

  15. SplineVisualizer (cont.) • The SplineVisualizer provides a view of all sample times from the start of the test till the end, regardless of how many samples have been taken.

  16. Summary • Advantages • Open source and free • Detailed tutorial from Apache • Unlimited Load generation • Disadvantages - In specific unicast scenarios, such as repeatedly downloading very large files, the ability of agents to generate load falls off abruptly due to memory issues.

  17. Further Tutorial or Information • Apache Jakarta Project provides detailed tutorial for using Apache JMeter • http://jakarta.apache.org/jmeter/usermanual/index.html

More Related